diff options
Diffstat (limited to 'tests/manual/windowchildgeometry/controllerwidget.cpp')
-rw-r--r-- | tests/manual/windowchildgeometry/controllerwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/windowchildgeometry/controllerwidget.cpp b/tests/manual/windowchildgeometry/controllerwidget.cpp index 396fad53dc..7a0a29fc61 100644 --- a/tests/manual/windowchildgeometry/controllerwidget.cpp +++ b/tests/manual/windowchildgeometry/controllerwidget.cpp @@ -462,7 +462,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("Child Window Geometry test, (Qt "); title += QLatin1String(QT_VERSION_STR); |