projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d91e5
)
Added an accelerator for show/hide cursors
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 23 Apr 2013 22:22:46 +0000
(23:22 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 23 Apr 2013 22:22:46 +0000
(23:22 +0100)
pv/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index 3326b9b1af47967d0de0603a4bef3cdb4d4684f1..150c2fccfa348d9ba9aac48f73016abe2b4c5d96 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-152,6
+152,7
@@
void MainWindow::setup_ui()
_action_view_show_cursors = new QAction(this);
_action_view_show_cursors->setCheckable(true);
_action_view_show_cursors->setChecked(_view->cursors_shown());
+ _action_view_show_cursors->setShortcut(QKeySequence(Qt::Key_C));
_action_view_show_cursors->setObjectName(
QString::fromUtf8("actionViewShowCursors"));
_action_view_show_cursors->setText(QApplication::translate(