qt5base-lts/tests/auto/gui/kernel
Stephen Kelly c5665a182d Only quit if there are no visible widgets or windows.
We need to let the QGuiApplication determine whether quitting is appropriate
based on whether there are visible top level QWindows after the last top-level
QWidget was closed.

This solves the issue raised here: http://thread.gmane.org/gmane.comp.lib.qt.user/1880

The transientParent is the QWindow equivalent of parentWidget on QWidget, so the test
in QGuiApplication::shouldQuit is similar to the one in QApplication::shouldQuit.

Change-Id: I500eff8d5887f24415180134b3a4be3c630a896f
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2012-06-12 04:30:18 +02:00
..
qbackingstore Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qclipboard Don't use obsolete qVariantValue, qVariantCanConvert, etc. 2012-05-02 08:30:59 +02:00
qdrag Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qevent Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfileopenevent Clean up for some auto tests of the gui/kernel. 2012-03-09 11:05:18 +01:00
qguiapplication Only quit if there are no visible widgets or windows. 2012-06-12 04:30:18 +02:00
qguieventdispatcher Run tst_QEventDispatcher with the GUI event dispatchers as well 2012-02-10 15:22:03 +01:00
qguimetatype Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qguitimer Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qguivariant Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qinputmethod Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qkeysequence Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qmouseevent Make tst_qmouseevent.cpp independent of QtWidgets 2012-03-09 11:05:29 +01:00
qmouseevent_modal Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpalette Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qscreen Added QScreen::setOrientationUpdateMask(). 2012-06-06 07:41:17 +02:00
qtouchevent Use QPointer instead of QWeakPointer. 2012-06-05 18:42:26 +02:00
qwindow Remove insignificant_test for tst_qwindow on Mac OS X 2012-06-06 12:53:55 +02:00
kernel.pro Make gui tests build when widgets aren't available 2012-06-07 00:38:01 +02:00