diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-12-13 11:02:30 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-12-13 11:02:30 (GMT) |
commit | 139ff0b47d5f00bf7b7eca5f7c233ad70da203c4 (patch) | |
tree | 297ad6e93c2097f01a6563c9cbdb42daa34a3191 | |
parent | 33f1cc91fad5915cb732ed371288147fb82157f8 (diff) | |
download | Qt-139ff0b47d5f00bf7b7eca5f7c233ad70da203c4.zip Qt-139ff0b47d5f00bf7b7eca5f7c233ad70da203c4.tar.gz Qt-139ff0b47d5f00bf7b7eca5f7c233ad70da203c4.tar.bz2 |
[blitter] Generate a new serial number when resizing the
The raster pixmap is generating a new serial number when the pixmap
is resized, do the same for the blitter code.
Cherry-picked-from: qtbase:6e13586d8b6d80ab374197649c76e7f0b35045db
Merge-request: 1492
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
-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 f3a4318..836ade7 100644 --- a/src/gui/image/qpixmap_blitter.cpp +++ b/src/gui/image/qpixmap_blitter.cpp @@ -104,6 +104,7 @@ void QBlittablePixmapData::resize(int width, int height) w = width; h = height; is_null = (w <= 0 || h <= 0); + setSerialNumber(++global_ser_no); } int QBlittablePixmapData::metric(QPaintDevice::PaintDeviceMetric metric) const |