Skip to content

Commit

Permalink
Fix naming issue spotted by 'dekarl'. The channel icon storage group …
Browse files Browse the repository at this point in the history
…is called 'ChannelIcons' not 'ChannelIcon', the icon lookups would still work because of some fallback checks but they would be slower.
  • Loading branch information
stuartm committed Apr 26, 2012
1 parent f2e29bb commit 055a511
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/osd.cpp
Expand Up @@ -440,7 +440,7 @@ void OSD::SetText(const QString &window, QHash<QString,QString> &map,
if (!iconpath.isEmpty())
{
QString iconurl =
gCoreContext->GetMasterHostPrefix("ChannelIcon",
gCoreContext->GetMasterHostPrefix("ChannelIcons",
iconpath);

icon->SetFilename(iconurl);
Expand Down
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/guidegrid.cpp
Expand Up @@ -1578,7 +1578,7 @@ void GuideGrid::updateChannels(void)
if (!chinfo->icon.isEmpty())
{
QString iconurl =
gCoreContext->GetMasterHostPrefix("ChannelIcon",
gCoreContext->GetMasterHostPrefix("ChannelIcons",
chinfo->icon);
item->SetImage(iconurl, "channelicon");
}
Expand Down Expand Up @@ -1612,7 +1612,7 @@ void GuideGrid::updateInfo(void)
m_channelImage->Reset();
if (!chinfo->icon.isEmpty())
{
QString iconurl = gCoreContext->GetMasterHostPrefix("ChannelIcon",
QString iconurl = gCoreContext->GetMasterHostPrefix("ChannelIcons",
chinfo->icon);

m_channelImage->SetFilename(iconurl);
Expand Down

0 comments on commit 055a511

Please sign in to comment.