summaryrefslogtreecommitdiffstats
path: root/examples/sql/masterdetail
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/masterdetail')
-rw-r--r--examples/sql/masterdetail/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/masterdetail/mainwindow.cpp b/examples/sql/masterdetail/mainwindow.cpp
index c773219..61529e9 100644
--- a/examples/sql/masterdetail/mainwindow.cpp
+++ b/examples/sql/masterdetail/mainwindow.cpp
@@ -362,7 +362,7 @@ void MainWindow::createMenuBar()
addAction->setShortcut(tr("Ctrl+A"));
deleteAction->setShortcut(tr("Ctrl+D"));
- quitAction->setShortcut(tr("Ctrl+Q"));
+ quitAction->setShortcuts(QKeySequence::Quit);
QMenu *fileMenu = menuBar()->addMenu(tr("&File"));
fileMenu->addAction(addAction);