summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-g++/qmake.conf
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-01-04 17:28:51 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-01-05 16:09:22 +0000
commit6d6707c8c390216ac2f69b5771d14ee9141b19d2 (patch)
tree40198914ba6356ccbd40676438ca29d2d60bde47 /mkspecs/win32-g++/qmake.conf
parenta1702da020906e1fb5b293257d87209f1795809b (diff)
Fix access after delete in GTK2 dialog helpers
Each QGtk2*DialogHelper class owns a QGtk2Dialog. It is possible that QGtk2Dialog's parent window is destroyed before QGtk2*DialogHelper. Then the QGtk2Dialog is destroyed, because of the QWindow parent/child relationship. Before destroying QGtk2*DialogHelper, QQuickPlatformFileDialog calls QGtk2*DialogHelper::hide, which will then operate on the already destroyed QGtk2Dialog. Break the parent/child relationship when QGtk2Dialog's parent is destroyed. Change-Id: Ie2bda234f759e7bf4d0642accd82fdc38e0379c2 Task-number: QTBUG-49203 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'mkspecs/win32-g++/qmake.conf')
0 files changed, 0 insertions, 0 deletions