summaryrefslogtreecommitdiffstats
path: root/examples/painting/svgviewer/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/painting/svgviewer/mainwindow.cpp')
-rw-r--r--examples/painting/svgviewer/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/painting/svgviewer/mainwindow.cpp b/examples/painting/svgviewer/mainwindow.cpp
index 22393eb..64f35ed 100644
--- a/examples/painting/svgviewer/mainwindow.cpp
+++ b/examples/painting/svgviewer/mainwindow.cpp
@@ -53,7 +53,7 @@ MainWindow::MainWindow()
QAction *openAction = fileMenu->addAction(tr("&Open..."));
openAction->setShortcut(QKeySequence(tr("Ctrl+O")));
QAction *quitAction = fileMenu->addAction(tr("E&xit"));
- quitAction->setShortcut(QKeySequence(tr("Ctrl+Q")));
+ quitAction->setShortcuts(QKeySequence::Quit);
menuBar()->addMenu(fileMenu);