summaryrefslogtreecommitdiffstats
path: root/examples/mainwindows/dockwidgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mainwindows/dockwidgets/mainwindow.cpp')
-rw-r--r--examples/mainwindows/dockwidgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mainwindows/dockwidgets/mainwindow.cpp b/examples/mainwindows/dockwidgets/mainwindow.cpp
index 1683034..4ccd2f1 100644
--- a/examples/mainwindows/dockwidgets/mainwindow.cpp
+++ b/examples/mainwindows/dockwidgets/mainwindow.cpp
@@ -242,7 +242,7 @@ void MainWindow::createActions()
connect(undoAct, SIGNAL(triggered()), this, SLOT(undo()));
quitAct = new QAction(tr("&Quit"), this);
- quitAct->setShortcut(tr("Ctrl+Q"));
+ quitAct->setShortcuts(QKeySequence::Quit);
quitAct->setStatusTip(tr("Quit the application"));
connect(quitAct, SIGNAL(triggered()), this, SLOT(close()));