Ticket #6034: fix.channel.icons.patch

File fix.channel.icons.patch, 535 bytes (added by Stephen <stev391@…>, 15 years ago)

Adds an additional sanity check.

  • libs/libmythtv/guidegrid.cpp

     
    17641764        container->SetText(infoMap);
    17651765
    17661766        UIImageType *itype = (UIImageType *)container->GetType("icon");
    1767         if (itype && showChannelIcon)
     1767        if (itype && showChannelIcon && !chinfo->icon.isEmpty())
    17681768        {
    17691769            int iconsize = 0;
    17701770            iconsize = itype->GetSize().width();