summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qdialog.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/dialogs/qdialog.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/dialogs/qdialog.cpp')
-rw-r--r--src/widgets/dialogs/qdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qdialog.cpp b/src/widgets/dialogs/qdialog.cpp
index f56308da9e..2e51e9eb00 100644
--- a/src/widgets/dialogs/qdialog.cpp
+++ b/src/widgets/dialogs/qdialog.cpp
@@ -640,7 +640,7 @@ int QDialog::exec()
As with QWidget::close(), done() deletes the dialog if the
Qt::WA_DeleteOnClose flag is set. If the dialog is the application's
main widget, the application terminates. If the dialog is the
- last window closed, the QApplication::lastWindowClosed() signal is
+ last window closed, the QGuiApplication::lastWindowClosed() signal is
emitted.
\sa accept(), reject(), QApplication::activeWindow(), QCoreApplication::quit()