Ticket #2949: osd_icon_loading.diff
| File osd_icon_loading.diff, 1.1 KB (added by , 19 years ago) |
|---|
-
mythtv/libs/libmythtv/osd.cpp
26 26 #include "textsubtitleparser.h" 27 27 #include "libmyth/oldsettings.h" 28 28 #include "udpnotify.h" 29 #include "infostructs.h" 29 30 30 31 #include "osdtypeteletext.h" 31 32 #include "osdlistbtntype.h" … … 1626 1627 if (cs) 1627 1628 { 1628 1629 if ((infoMap.contains("iconpath")) && (infoMap["iconpath"] != "")) 1629 cs->LoadImage(infoMap["iconpath"], wmult, hmult, 30, 30); 1630 { 1631 ChannelInfo chinfo; 1632 chinfo.iconpath = infoMap["iconpath"]; 1633 chinfo.LoadIcon(60); 1634 if (chinfo.iconload) 1635 { 1636 cs->LoadFromQImage(chinfo.icon.convertToImage()); 1637 } 1638 else 1639 cs->LoadImage(" ", wmult, hmult, 30, 30); 1640 } 1630 1641 else 1631 1642 cs->LoadImage(" ", wmult, hmult, 30, 30); 1632 1643 }
