diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2011-09-29 18:02:47 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-21 16:54:45 +0200 |
commit | 6e13586d8b6d80ab374197649c76e7f0b35045db (patch) | |
tree | f5d098b6e30d1ae7681e218405c240b26d4b6b2f /src/gui/image | |
parent | b256d7b3bbe5ff6d3405255f0077e6b9635c8e7e (diff) | |
download | qtbase-6e13586d8b6d80ab374197649c76e7f0b35045db.tar.gz |
[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/gui/image')
-rw-r--r-- | src/gui/image/qpixmap_blitter.cpp | 1 |
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 |