summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qscreentransformed_qws.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-04-30 03:26:05 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-04-30 03:26:05 (GMT)
commit0ee6bf1226f3069f117d0b0b75df14ddf38e75de (patch)
tree01a63f8585790624e1746ba1b43cd91731699e42 /src/gui/embedded/qscreentransformed_qws.cpp
parent0a4b78de06b60a5fc0a9182687ded099968c4055 (diff)
parent0282ea19722c247157c652ef9122379f0e715497 (diff)
downloadQt-0ee6bf1226f3069f117d0b0b75df14ddf38e75de.zip
Qt-0ee6bf1226f3069f117d0b0b75df14ddf38e75de.tar.gz
Qt-0ee6bf1226f3069f117d0b0b75df14ddf38e75de.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/gui/embedded/qscreentransformed_qws.cpp')
-rw-r--r--src/gui/embedded/qscreentransformed_qws.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/embedded/qscreentransformed_qws.cpp b/src/gui/embedded/qscreentransformed_qws.cpp
index f988789..46ac1d1 100644
--- a/src/gui/embedded/qscreentransformed_qws.cpp
+++ b/src/gui/embedded/qscreentransformed_qws.cpp
@@ -410,7 +410,9 @@ void QTransformedScreen::blit(const QImage &image, const QPoint &topLeft,
#endif
#ifdef QT_QWS_DEPTH_8
case 8:
- if (image.depth() == 16)
+ if (image.format() == QImage::Format_RGB444)
+ SET_BLIT_FUNC(quint8, qrgb444, trans, func);
+ else if (image.depth() == 16)
SET_BLIT_FUNC(quint8, quint16, trans, func);
else
SET_BLIT_FUNC(quint8, quint32, trans, func);