From 6e13586d8b6d80ab374197649c76e7f0b35045db Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 29 Sep 2011 18:02:47 +0200 Subject: [blitter] Generate a new serial number when resizing the pixmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gui/image/qpixmap_blitter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3