summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2012-02-17 17:09:54 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2012-02-17 18:46:02 (GMT)
commit4588c0e51d206127525954d1368af40d53a17083 (patch)
tree545974b9dbe0bf65d3a6ab69c859d7ec2a5e1b9e
parentf7b7f61cb43a2022cb5faed608561bdd5fd64ae3 (diff)
Fix reccount value for the Default group
-rw-r--r--mythtv/programs/mythfrontend/playbackbox.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/mythtv/programs/mythfrontend/playbackbox.cpp b/mythtv/programs/mythfrontend/playbackbox.cpp
index 74a4a67..b5562fb 100644
--- a/mythtv/programs/mythfrontend/playbackbox.cpp
+++ b/mythtv/programs/mythfrontend/playbackbox.cpp
@@ -1267,11 +1267,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");