diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-12-31 00:24:45 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-04 08:20:33 (GMT) |
commit | e3e0a7acd42101a9abeb1dab53d4e03940bcebaa (patch) | |
tree | ac2731996d8565f1b4886f352ee24fba75879697 | |
parent | d1846e00155a1555baf9927a66e7f5de9fc08940 (diff) | |
download | Qt-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>
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp | 1 |
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) { |