diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-12-31 00:16:59 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-01-04 06:07:27 (GMT) |
commit | eb94abb952114e826e02ba4562d9048e77f46644 (patch) | |
tree | 25f96b541ca260859a08b5ee72d3642338ee836c /src/gui/image | |
parent | b0e7ef2aa62a123b51920b8f0a08af07a9cd9d09 (diff) | |
download | Qt-eb94abb952114e826e02ba4562d9048e77f46644.zip Qt-eb94abb952114e826e02ba4562d9048e77f46644.tar.gz Qt-eb94abb952114e826e02ba4562d9048e77f46644.tar.bz2 |
Set serial number in QX11PixmapData::transformed
QX11PixmapData::transformed initializes a new QX11PixmapData object but
doesn't set its serial number.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/gui/image')
-rw-r--r-- | src/gui/image/qpixmap_x11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_x11.cpp b/src/gui/image/qpixmap_x11.cpp index 7008fbd..f3947ff 100644 --- a/src/gui/image/qpixmap_x11.cpp +++ b/src/gui/image/qpixmap_x11.cpp @@ -1932,6 +1932,8 @@ QPixmap QX11PixmapData::transformed(const QTransform &transform, x11Data->hd = (Qt::HANDLE)XCreatePixmap(X11->display, RootWindow(X11->display, xinfo.screen()), w, h, d); + x11Data->setSerialNumber(++qt_pixmap_serial); + #ifndef QT_NO_XRENDER if (X11->use_xrender) { XRenderPictFormat *format = x11Data->d == 32 |