summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2011-09-29 18:02:47 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-21 16:54:45 +0200
commit6e13586d8b6d80ab374197649c76e7f0b35045db (patch)
treef5d098b6e30d1ae7681e218405c240b26d4b6b2f /src
parentb256d7b3bbe5ff6d3405255f0077e6b9635c8e7e (diff)
[blitter] Generate a new serial number when resizing the pixmap
The raster pixmap is generating a new serial number when the pixmap is resized, do the same for the blitter code. Change-Id: I05c74df7ea0f3a99ec9c24dacb41562da21c2d6d Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/image/qpixmap_blitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_blitter.cpp b/src/gui/image/qpixmap_blitter.cpp
index 16e914c8ee..8a72b2930e 100644
--- a/src/gui/image/qpixmap_blitter.cpp
+++ b/src/gui/image/qpixmap_blitter.cpp
@@ -97,6 +97,7 @@ void QBlittablePlatformPixmap::resize(int width, int height)
w = width;
h = height;
is_null = (w <= 0 || h <= 0);
+ setSerialNumber(++global_ser_no);
}
int QBlittablePlatformPixmap::metric(QPaintDevice::PaintDeviceMetric metric) const