projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c68dda
)
Implemented Ctrl+Q quit shortcut
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Mon, 18 Mar 2013 22:59:36 +0000
(22:59 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Thu, 21 Mar 2013 22:44:19 +0000
(22:44 +0000)
pv/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index e2f29e34d133afed3cf765d6d8dd58cfdc6e67a5..3aeb1227edcc1fb00247767002ee3087bb78494a 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-118,6
+118,7
@@
void MainWindow::setup_ui()
"MainWindow", "&Quit", 0, QApplication::UnicodeUTF8));
_action_quit->setIcon(QIcon::fromTheme("application-exit",
QIcon(":/icons/application-exit.png")));
+ _action_quit->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
_action_quit->setObjectName(QString::fromUtf8("actionQuit"));
_menu_file->addAction(_action_quit);