summaryrefslogtreecommitdiffstats
path: root/tests/manual/windowgeometry
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/windowgeometry')
-rw-r--r--tests/manual/windowgeometry/controllerwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/windowgeometry/controllerwidget.cpp b/tests/manual/windowgeometry/controllerwidget.cpp
index 3ad0cfb409..b188ea58e3 100644
--- a/tests/manual/windowgeometry/controllerwidget.cpp
+++ b/tests/manual/windowgeometry/controllerwidget.cpp
@@ -400,7 +400,7 @@ ControllerWidget::ControllerWidget(QWidget *parent)
QMenu *fileMenu = menuBar()->addMenu(tr("File"));
QAction *exitAction = fileMenu->addAction(tr("Exit"));
exitAction->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_Q));
- connect(exitAction, SIGNAL(triggered()), qApp, SLOT(closeAllWindows()));
+ connect(exitAction, SIGNAL(triggered()), qApp, SLOT(quit()));
QString title = QLatin1String("Geometry test, (Qt ");
title += QLatin1String(QT_VERSION_STR);