summaryrefslogtreecommitdiffstats
path: root/examples/webkit/formextractor/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/formextractor/mainwindow.cpp')
-rw-r--r--examples/webkit/formextractor/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webkit/formextractor/mainwindow.cpp b/examples/webkit/formextractor/mainwindow.cpp
index 222d9b2..ec4d043 100644
--- a/examples/webkit/formextractor/mainwindow.cpp
+++ b/examples/webkit/formextractor/mainwindow.cpp
@@ -54,7 +54,7 @@ void MainWindow::createActions()
{
exitAct = new QAction(tr("E&xit"), this);
exitAct->setStatusTip(tr("Exit the application"));
- exitAct->setShortcut(tr("Ctrl+Q"));
+ exitAct->setShortcuts(QKeySequence::Quit);
connect(exitAct, SIGNAL(triggered()), this, SLOT(close()));
aboutAct = new QAction(tr("&About"), this);