Permalink
Browse files

Fix naming issue spotted by 'dekarl'. The channel icon storage group …

…is called 'ChannelIcons' not 'ChannelIcon', the icon lookups would still work because of some fallback checks but they would be slower.
  • Loading branch information...
1 parent f2e29bb commit 055a511791aa01dcbeb9743b5db9f242d0f9b517 @stuartm stuartm committed Apr 26, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 mythtv/libs/libmythtv/osd.cpp
  2. +2 −2 mythtv/programs/mythfrontend/guidegrid.cpp
@@ -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);
@@ -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");
}
@@ -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);

0 comments on commit 055a511

Please sign in to comment.