equal
deleted
inserted
replaced
279 } |
279 } |
280 |
280 |
281 delete iLogoPreset; |
281 delete iLogoPreset; |
282 iLogoPreset = aPreset; |
282 iLogoPreset = aPreset; |
283 |
283 |
284 if (iLogoPreset->logoData != KNullDesC8) |
284 if (iLogoPreset->logoData.size() > 0) |
285 { |
285 { |
286 const unsigned char * logoData = iLogoPreset->logoData.Ptr(); |
|
287 QPixmap tempMap; |
286 QPixmap tempMap; |
288 bool ret = tempMap.loadFromData(logoData,iLogoPreset->logoData.Length()); |
287 bool ret = tempMap.loadFromData((const unsigned char*)iLogoPreset->logoData.constData(), iLogoPreset->logoData.size()); |
289 if( ret ) |
288 if( ret ) |
290 { |
289 { |
291 QIcon convertIcon(tempMap); |
290 QIcon convertIcon(tempMap); |
292 HbIcon *hbIcon = new HbIcon(convertIcon); |
291 HbIcon *hbIcon = new HbIcon(convertIcon); |
293 int index = iIconIndexArray[0]; |
292 int index = iIconIndexArray[0]; |