From 947188b969d14dd37c1c8b00b0b9c572cdd6cfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 11 Oct 2021 15:57:46 +0200 Subject: Fix references to QGuiApplication::lastWindowClosed The signal is emitted from QGuiApplication these days. Pick-to: 6.2 Change-Id: I7423cd4808e8df86960f225fd6e4a12a1a4f11f3 Reviewed-by: Doris Verria Reviewed-by: Volker Hilsheimer --- src/widgets/dialogs/qdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/dialogs/qdialog.cpp') 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() -- cgit v1.2.3