summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentthreadengine.h
diff options
context:
space:
mode:
authorMiika Pernu <[email protected]>2020-05-14 15:26:51 +0300
committerVolker Hilsheimer <[email protected]>2020-06-04 20:29:38 +0000
commit036c3c19e7da5f1a280750d3c68a0cff38678029 (patch)
tree32bc755fc966aa192a48c5ad24f7a8c5a4eb88a4 /src/concurrent/qtconcurrentthreadengine.h
parentc7b457e287232d235cd56fcb0dd106f4617d96f0 (diff)
Fix to crash in QWindow::event when delete this called on closeEvent
Starting from Qt 5.11 QWindow::event is called after QDialog::closeEvent which would cause a crash if "delete this" was called on closeEvent. The commit that changed this was e0b5ff4ad583befbecbcbe462998e3ed80899531. Added a check before QWindow::event call utilizing QPointer to prevent the function call in case object is destroyed by a user in close event handler. Change-Id: I64a4a0f3271714e55bf7e806177f0d8b39b67fa3 Fixes: QTBUG-84222 Pick-to: 5.15 5.12 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.h')
0 files changed, 0 insertions, 0 deletions