diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-05-12 13:03:20 +0200 |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-05-12 13:05:19 +0200 |
commit | aecb4af947acd5e5c4a59641512269348ca97f07 (patch) | |
tree | a0e96b051e6ceae2fdd2f9019f1a086179769959 /examples/painting | |
parent | 61b7057cd2ec4688592ad5d13a55b75b18c8d8a5 (diff) | |
download | qt4-tools-aecb4af947acd5e5c4a59641512269348ca97f07.tar.gz |
Replace all instances of "Ctrl+Q" with QKeySequence::Quit.
We introduce this new enum, we should be using it.
Diffstat (limited to 'examples/painting')
-rw-r--r-- | examples/painting/svgviewer/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/painting/svgviewer/mainwindow.cpp b/examples/painting/svgviewer/mainwindow.cpp index 22393eb723..64f35ed834 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); |