summaryrefslogtreecommitdiffstats
path: root/examples/webkit/formextractor
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-05-12 13:03:20 +0200
committerNorwegian Rock Cat <qt-info@nokia.com>2009-05-12 13:05:19 +0200
commitaecb4af947acd5e5c4a59641512269348ca97f07 (patch)
treea0e96b051e6ceae2fdd2f9019f1a086179769959 /examples/webkit/formextractor
parent61b7057cd2ec4688592ad5d13a55b75b18c8d8a5 (diff)
Replace all instances of "Ctrl+Q" with QKeySequence::Quit.
We introduce this new enum, we should be using it.
Diffstat (limited to 'examples/webkit/formextractor')
-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 222d9b208d..ec4d0434a1 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);