--- a/qtinternetradio/ui/src/irfavoritesview.cpp Thu Sep 02 20:17:46 2010 +0300
+++ b/qtinternetradio/ui/src/irfavoritesview.cpp Fri Sep 17 08:27:59 2010 +0300
@@ -281,11 +281,10 @@
delete iLogoPreset;
iLogoPreset = aPreset;
- if (iLogoPreset->logoData != KNullDesC8)
+ if (iLogoPreset->logoData.size() > 0)
{
- const unsigned char * logoData = iLogoPreset->logoData.Ptr();
QPixmap tempMap;
- bool ret = tempMap.loadFromData(logoData,iLogoPreset->logoData.Length());
+ bool ret = tempMap.loadFromData((const unsigned char*)iLogoPreset->logoData.constData(), iLogoPreset->logoData.size());
if( ret )
{
QIcon convertIcon(tempMap);