summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-12-31 00:24:45 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-01-04 08:20:33 (GMT)
commite3e0a7acd42101a9abeb1dab53d4e03940bcebaa (patch)
treeac2731996d8565f1b4886f352ee24fba75879697 /src
parentd1846e00155a1555baf9927a66e7f5de9fc08940 (diff)
downloadQt-e3e0a7acd42101a9abeb1dab53d4e03940bcebaa.zip
Qt-e3e0a7acd42101a9abeb1dab53d4e03940bcebaa.tar.gz
Qt-e3e0a7acd42101a9abeb1dab53d4e03940bcebaa.tar.bz2
Set serial number in QDFBPixmapData::transformed
QDirectFBPixmapData::transformed initializes a new QDirectFBPixmapData object but doesn't set its serial number. Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
index b15888b..e78966c 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
@@ -470,6 +470,7 @@ QPixmap QDirectFBPixmapData::transformed(const QTransform &transform,
return QPixmap();
QDirectFBPixmapData *data = new QDirectFBPixmapData(screen, QPixmapData::PixmapType);
+ data->setSerialNumber(++global_ser_no);
DFBSurfaceBlittingFlags flags = DSBLIT_NOFX;
data->alpha = alpha;
if (alpha) {