Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove CFileItem::SetLabel2 override and use base class CGUIListItem:…

…:SetLabel2

override wasn't setting control invalid (needed for GUI redraw) when label2 changed value, base class does it
fixes static items in containers not redrawing, when just label2 is changing
  • Loading branch information...
commit 954ec0d12dd4cdc312aace65fb16a9cb75872d42 1 parent 004ebdd
@pieh pieh authored
Showing with 0 additions and 7 deletions.
  1. +0 −6 xbmc/FileItem.cpp
  2. +0 −1  xbmc/FileItem.h
View
6 xbmc/FileItem.cpp
@@ -1334,12 +1334,6 @@ void CFileItem::SetLabel(const CStdString &strLabel)
CGUIListItem::SetLabel(strLabel);
}
-void CFileItem::SetLabel2(const CStdString &strLabel)
-{
- m_strLabel2 = strLabel;
-}
-
-
void CFileItem::SetFileSizeLabel()
{
if( m_bIsFolder && m_dwSize == 0 )
View
1  xbmc/FileItem.h
@@ -173,7 +173,6 @@ class CFileItem :
void FillInDefaultIcon();
void SetFileSizeLabel();
virtual void SetLabel(const CStdString &strLabel);
- virtual void SetLabel2(const CStdString &strLabel);
CURL GetAsUrl() const;
int GetVideoContentType() const; /* return VIDEODB_CONTENT_TYPE, but don't want to include videodb in this header */
bool IsLabelPreformated() const { return m_bLabelPreformated; }
Please sign in to comment.
Something went wrong with that request. Please try again.