qt6-bb10/tests/auto/widgets
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
..
dialogs Fix tst_QDialog::deleteInExec() crash on Mac OS X 2012-04-17 03:28:29 +02:00
effects Move tst_qicon.cpp and tst_qpixmapfilter.cpp to QtWidgets 2012-03-12 10:48:40 +01:00
graphicsview Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
itemviews Put bug numbers on same line as insignificant_test markers. 2012-04-16 03:10:22 +02:00
kernel Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
styles Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
util Implement QSystemTrayIcon for X11. 2012-03-23 11:45:25 +01:00
widgets Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00