qt5base-lts/tests/auto/gui/kernel/qguiapplication
Tor Arne Vestbø df359bcb70 Decouple quitOnLastWindowClosed from quitLockEnabled
In a512e210ac5b032c5fc2edf1ddf72e5a414485fda512e21 quitOnLastWindowClosed
was changed to be implemented in terms of quitLockEnabled, but without
any documentation to that end.

Although the two features are similar (automatic quit under certain
conditions), and interact, it doesn't make sense to overlap them until
we actually expose them as a single property (automaticQuit e.g.)

The logic for determining whether we can can quit automatically has
been refactored to take both properties into account, on both a Core
and Gui level. The call sites still need to check the individual
properties to determine whether to activate automatic quit for
that particular code path.

Change-Id: I38c3e8cb30db373ea73dd45f150e5048c0db2f4d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-10-18 15:29:09 +02:00
..
icons Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00
BLACKLIST Un-blacklist quitOnLastWindowClosedMulti test on macOS in CI 2021-09-20 19:00:05 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
Info.plist CMake: Fix failing tests on macOS developer builds 2020-09-22 19:08:53 +02:00
testplugin.json Fix events being processed on application start 2012-09-26 19:54:19 +02:00
tst_qguiapplication.cpp Decouple quitOnLastWindowClosed from quitLockEnabled 2021-10-18 15:29:09 +02:00
tst_qguiapplication.qrc Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00