Fixes: Crash in QPixmap under X11.
authorTrond Kjernaasen <trond@trolltech.com>
Mon, 2 Mar 2009 12:17:40 +0000 (13:17 +0100)
committerThiago Macieira <thiago.macieira@nokia.com>
Mon, 23 Mar 2009 11:45:25 +0000 (12:45 +0100)
commitdc789e34bd2ff519024af077bebdf09c85e138e0
treeb61b46b890a6877900368c21b5b95e4336c64996
parentebaeb25bebdd29651f15b6e53119597633ea854f
Fixes:    Crash in QPixmap under X11.

Task:     246446
RevBy:    Olivier
AutoTest: tst_qpixmap::test_246446()
Details:  The new QX11PixmapData object wasn't referenced (e.g. the ref
          count would be 0) after calling setMask() on a 32 bit QPixmap
          when Xrender was used.
src/gui/image/qpixmap_x11.cpp
src/gui/image/qpixmapdata_p.h
tests/auto/qpixmap/tst_qpixmap.cpp