Change-Id: I8abdae5482e94a7f9af494e5d547352431285336
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
}
// Copy over the data
- QImage::Format imageFormat = QImage::Format_ARGB32;
+ QImage::Format imageFormat = QImage::Format_RGB32;
if (hbitmapFormat == HBitmapAlpha)
- imageFormat = QImage::Format_RGB32;
+ imageFormat = QImage::Format_ARGB32;
else if (hbitmapFormat == HBitmapPremultipliedAlpha)
imageFormat = QImage::Format_ARGB32_Premultiplied;
const QImage image = rasterImage->convertToFormat(imageFormat);