qt5base-lts/tests/auto/widgets/dialogs
Bradley T. Hughes 5a57ddebf5 Fix tst_QDialog::deleteInExec() crash on Mac OS X
When destroying a window immediately after showing it, we can sometimes
provoke a crash in Cocoa after the show-window-animation has finished
(which appears to assume that the window's view will always be valid).
Prevent the crash by not removing the view from the window. When
recreating a window, we explicitly release the old window, but we do not
release the view, so we can freely add it to the new window (i.e. this
does not introduce new bugs related to recreating the platform window).

Task-number: QTBUG-24977
Change-Id: I466ce75b04785401032a0a2d4a2c494910cd1672
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
2012-04-17 03:28:29 +02:00
..
qabstractprintdialog Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcolordialog Cocoa: fix setting color with alpha channel value for color dialog 2012-03-22 13:22:10 +01:00
qdialog Fix tst_QDialog::deleteInExec() crash on Mac OS X 2012-04-17 03:28:29 +02:00
qerrormessage clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qfiledialog Remove many deprecated methods 2012-01-31 16:17:55 +01:00
qfiledialog2 qfiledialog2: Skip test that is passing on CI and failing otherwise. 2012-02-27 08:08:50 +01:00
qfilesystemmodel QHeaderView - renaming functions in Qt5 2012-03-14 11:37:18 +01:00
qfontdialog Skip all tst_QFontDialog tests on Mac OS X 2012-02-17 11:44:29 +01:00
qinputdialog Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmessagebox clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qprogressdialog Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsidebar Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qwizard Fix build of QWizard tests with QT_USE_QSTRINGBUILDER 2012-02-29 16:51:07 +01:00
dialogs.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00