qtinternetradio/ui/src/irchanneldataprovider.cpp
changeset 16 5723da102db1
parent 15 065198191975
child 17 38bbf2dcd608
equal deleted inserted replaced
15:065198191975 16:5723da102db1
   194     } 
   194     } 
   195     
   195     
   196     delete iLogoPreset;            
   196     delete iLogoPreset;            
   197     iLogoPreset = aPreset;    
   197     iLogoPreset = aPreset;    
   198 
   198 
   199     if (iLogoPreset->logoData != KNullDesC8)
   199     if (iLogoPreset->logoData.size() > 0)
   200     {         
   200     {         
   201         QPixmap tempMap;  
   201         QPixmap tempMap;     
   202         const unsigned char * logoData = iLogoPreset->logoData.Ptr();     
   202         bool ret = tempMap.loadFromData((const unsigned char*)iLogoPreset->logoData.constData(), iLogoPreset->logoData.size());
   203         bool ret = tempMap.loadFromData(logoData, iLogoPreset->logoData.Length());
       
   204        
   203        
   205         if( ret )
   204         if( ret )
   206         {            
   205         {            
   207             QIcon convertIcon(tempMap);
   206             QIcon convertIcon(tempMap);
   208             HbIcon *hbIcon = new HbIcon(convertIcon);
   207             HbIcon *hbIcon = new HbIcon(convertIcon);