summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qt_s60_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h
index 6261e4b..35755c3 100644
--- a/src/gui/kernel/qt_s60_p.h
+++ b/src/gui/kernel/qt_s60_p.h
@@ -227,12 +227,14 @@ static inline QImage::Format qt_TDisplayMode2Format(TDisplayMode mode)
format = QImage::Format_RGB666;
break;
case EColor16MU:
- case EColor16MA:
format = QImage::Format_RGB32;
break;
+ case EColor16MA:
+ format = QImage::Format_ARGB32;
+ break;
#ifdef __S60_50__
case EColor16MAP:
- format = QImage::Format_ARGB32;
+ format = QImage::Format_ARGB32_Premultiplied;
break;
#endif
default: