summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_s60_p.h
diff options
context:
space:
mode:
authorJani Hautakangas <ext-jani.hautakangas@nokia.com>2009-11-11 15:13:36 (GMT)
committerJani Hautakangas <ext-jani.hautakangas@nokia.com>2009-11-11 15:13:36 (GMT)
commit0779fbb16838a5d857665a0d70e30e2ba49cefba (patch)
tree32e38255a154ba5cc21ff57e00e26e7463e2197e /src/gui/image/qpixmap_s60_p.h
parent7209b00f4fdab6c9e388729590937eea2d3888d7 (diff)
downloadQt-0779fbb16838a5d857665a0d70e30e2ba49cefba.zip
Qt-0779fbb16838a5d857665a0d70e30e2ba49cefba.tar.gz
Qt-0779fbb16838a5d857665a0d70e30e2ba49cefba.tar.bz2
Fix to symbian transparent window backing store format.
Symbian semi-transparent window surface needs backing store pixmap in argb32 format. Normally QPixmap contains only rgb32 or argb32_pre pixels. This fix locks semi-transparent window backing store pixmap to argb32 format. Reviewed-by: Shane Kearns
Diffstat (limited to 'src/gui/image/qpixmap_s60_p.h')
-rw-r--r--src/gui/image/qpixmap_s60_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_s60_p.h b/src/gui/image/qpixmap_s60_p.h
index b23961a..b1b5824 100644
--- a/src/gui/image/qpixmap_s60_p.h
+++ b/src/gui/image/qpixmap_s60_p.h
@@ -118,6 +118,8 @@ private:
QPaintEngine *pengine;
uchar* bytes;
+ bool formatLocked;
+
friend class QPixmap;
friend class QS60WindowSurface;
friend class QS60PaintEngine;