Skip to content

Commit

Permalink
Don't strip unnecessary white space from title when creating the titl…
Browse files Browse the repository at this point in the history
…e list. Fixes #11200
  • Loading branch information
stuartm committed Nov 29, 2012
1 parent 0278f97 commit b477111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -1333,7 +1333,7 @@ void PlaybackBox::UpdateUIGroupList(const QStringList &groupPreferences)
QStringList::iterator it;
for (it = m_titleList.begin(); it != m_titleList.end(); ++it)
{
QString groupname = (*it).simplified();
QString groupname = (*it);

MythUIButtonListItem *item =
new MythUIButtonListItem(
Expand Down Expand Up @@ -1690,7 +1690,7 @@ bool PlaybackBox::UpdateUILists(void)
sTitle = construct_sort_title(
p->GetTitle(), m_viewMask, titleSort,
p->GetRecordingPriority(), m_prefixes);
sTitle = sTitle.toLower().simplified();
sTitle = sTitle.toLower();

if (!sortedList.contains(sTitle))
sortedList[sTitle] = p->GetTitle();
Expand Down

0 comments on commit b477111

Please sign in to comment.