summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformthemeplugin_qpa.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-04-16 16:39:44 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-16 18:15:00 +0200
commit6615dc1370300188f2979fb2c6b8eaa6049d5824 (patch)
tree7fdeb0ad8a789aaf03243129a7fdb84ea7612ad0 /src/gui/kernel/qplatformthemeplugin_qpa.cpp
parent5eaf0b8ef0e0ad74e4c21cb6e688071a6cf8f66f (diff)
gui: Clear the QPixmapCache before destroying the QPlatformIntegration
The QPixmap in the pixmap cache should not outlive the QPlatformIntegration. Clear the cache shortly before destroying the platform integration. This is fixing a crash with the DirectFB plugin in the tst_qpixmapcache test. Change-Id: I0b1a304dc37d874b412aadb77f8dbaa7d292711f Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/kernel/qplatformthemeplugin_qpa.cpp')
0 files changed, 0 insertions, 0 deletions