equal
deleted
inserted
replaced
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); |