equal
deleted
inserted
replaced
432 |
432 |
433 |
433 |
434 delete iLogoPreset; |
434 delete iLogoPreset; |
435 iLogoPreset = aPreset; |
435 iLogoPreset = aPreset; |
436 |
436 |
437 if (iLogoPreset->logoData != KNullDesC8) |
437 if (iLogoPreset->logoData.size() > 0) |
438 { |
438 { |
439 QPixmap tempMap; |
439 QPixmap tempMap; |
440 const unsigned char * logoData = iLogoPreset->logoData.Ptr(); |
440 bool ret = tempMap.loadFromData((const unsigned char*)iLogoPreset->logoData.constData(), iLogoPreset->logoData.size()); |
441 bool ret = tempMap.loadFromData(logoData, iLogoPreset->logoData.Length()); |
|
442 QIcon convertIcon(tempMap); |
441 QIcon convertIcon(tempMap); |
443 |
442 |
444 if( ret ) |
443 if( ret ) |
445 { |
444 { |
446 HbIcon *hbIcon = new HbIcon(convertIcon); |
445 HbIcon *hbIcon = new HbIcon(convertIcon); |