summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-10-11 15:57:46 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-10-13 22:30:08 +0200
commit947188b969d14dd37c1c8b00b0b9c572cdd6cfac (patch)
treec3a888057ddc620d5669703eec252bdb8aeeceee /src/widgets/kernel/qwidget.cpp
parent0df7831d01b03910ae74a432c2a07a29d99fc315 (diff)
Fix references to QGuiApplication::lastWindowClosed
The signal is emitted from QGuiApplication these days. Pick-to: 6.2 Change-Id: I7423cd4808e8df86960f225fd6e4a12a1a4f11f3 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r--src/widgets/kernel/qwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 59b7dd4d83..5c42a5da23 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -8443,7 +8443,7 @@ bool QWidgetPrivate::handleClose(CloseMode mode)
is also deleted. A close events is delivered to the widget no
matter if the widget is visible or not.
- The \l QApplication::lastWindowClosed() signal is emitted when the
+ The \l QGuiApplication::lastWindowClosed() signal is emitted when the
last visible primary window (i.e. window with no parent) with the
Qt::WA_QuitOnClose attribute set is closed. By default this
attribute is set for all widgets except transient windows such as