summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintbuffer_p.h
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2010-08-25 11:51:42 (GMT)
committerJason Barron <jason.barron@nokia.com>2010-09-10 14:48:35 (GMT)
commitff98c93a33170b8fdc28b553490819b51cb80d86 (patch)
tree086db5ca87da6d580e62604702a198dfd2497c76 /src/gui/painting/qpaintbuffer_p.h
parent771cfe6f172820a1a370255cb74e066913408a6f (diff)
downloadQt-ff98c93a33170b8fdc28b553490819b51cb80d86.zip
Qt-ff98c93a33170b8fdc28b553490819b51cb80d86.tar.gz
Qt-ff98c93a33170b8fdc28b553490819b51cb80d86.tar.bz2
Fix crash in QRuntimeGraphicsSystem due to destruction order.
Firstly, fix a "leak" by deleting the graphics system when QApplication is destroyed. Secondly, fix a crash when the following scenario occurs: - ~QApplication() deletes the current graphics system (see above) - ~QApplication() calls qt_cleanup() - qt_cleanup() calls QPixmapCache::clear() to delete pixmaps - ~QRuntimePixmapData() tries to remove the pixmap from the runtime graphics system, but it has already been deleted. - *Crash* Reviewed-by: Gunnar Sletta Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/gui/painting/qpaintbuffer_p.h')
0 files changed, 0 insertions, 0 deletions