Skip to content
Browse files

Fix reccount value for the Default group

(cherry picked from commit 4588c0e)
  • Loading branch information...
1 parent 074fb6e commit 9743d9c6af8a6a519c7a4d98fb434e3fa45ebe76 @stuartm stuartm committed Feb 17, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 mythtv/programs/mythfrontend/playbackbox.cpp
View
9 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -1193,11 +1193,12 @@ void PlaybackBox::UpdateUIGroupList(const QStringList &groupPreferences)
m_currentGroup = groupname.toLower();
}
- if (groupname.isEmpty())
- groupname = m_groupDisplayName;
+ QString displayName = groupname;
+ if (displayName.isEmpty())
+ displayName = m_groupDisplayName;
- item->SetText(groupname, "name");
- item->SetText(groupname);
+ item->SetText(displayName, "name");
+ item->SetText(displayName);
int count = m_progLists[groupname.toLower()].size();
item->SetText(QString::number(count), "reccount");

0 comments on commit 9743d9c

Please sign in to comment.
Something went wrong with that request. Please try again.