diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-10-04 12:47:21 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-04 13:55:22 +0000 |
commit | a90ca623f487ed2ac9cfa66393168d7da34675a6 (patch) | |
tree | 687c5a262381a082b1ce257a1155ff9b3b3bd082 /src | |
parent | 380e9b565ffe501a17ffebbd5de7104b4e68f477 (diff) |
Fix reference to quitOnLastWindowClosed in WA_QuitOnClose docs
The property is nowadays on QGuiApplication.
Change-Id: I8759761b08b0cdcef786ca96a7fa6364331f157d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit d78245ce8fc495ac7c771d045ba15da21e0732e2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 1a682732f9..873a4c91ee 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -1128,7 +1128,7 @@ \value WA_QuitOnClose Makes Qt quit the application when the last widget with the attribute set has accepted closeEvent(). This behavior can be - modified with the QApplication::quitOnLastWindowClosed property. By default + modified with the QGuiApplication::quitOnLastWindowClosed property. By default this attribute is set for all widgets of type Qt::Window. \value WA_Resized Indicates that the widget has an explicit size. This flag |