qt5base-lts/tests/auto/widgets/kernel/qwidget
Miika Pernu 036c3c19e7 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 e0b5ff4ad5. 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 <volker.hilsheimer@qt.io>
2020-06-04 20:29:38 +00:00
..
testdata/paintEvent Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST BLACKLIST QWidget tests for CentOS 2020-05-25 08:16:05 +03:00
CMakeLists.txt CMake: Regenerate tests projects 2020-03-12 11:41:39 +01:00
geometry-fullscreen.dat Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
geometry-maximized.dat Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
geometry.dat Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
hellotr_la.qm Send the LanguageChange event to all top level windows, not just widgets 2020-02-18 22:11:30 +01:00
qwidget.pro Migrate Windows system libs to external dependencies 2019-05-08 08:30:02 +00:00
qwidget.qrc Send the LanguageChange event to all top level windows, not just widgets 2020-02-18 22:11:30 +01:00
tst_qwidget_mac_helpers.h Updated license headers 2016-01-21 18:55:18 +00:00
tst_qwidget_mac_helpers.mm Updated license headers 2016-01-21 18:55:18 +00:00
tst_qwidget.cpp Fix to crash in QWindow::event when delete this called on closeEvent 2020-06-04 20:29:38 +00:00