projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84593c8
)
qv4l2: add Q shortcut to close the video window
author
Hans Verkuil
<hans.verkuil@cisco.com>
Sat, 19 Jul 2014 22:08:51 +0000
(
00:08
+0200)
committer
Hans Verkuil
<hans.verkuil@cisco.com>
Sat, 19 Jul 2014 22:08:51 +0000
(
00:08
+0200)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/capture-win.cpp
patch
|
blob
|
history
diff --git
a/utils/qv4l2/capture-win.cpp
b/utils/qv4l2/capture-win.cpp
index
525a2eb
..
7762e6a
100644
(file)
--- a/
utils/qv4l2/capture-win.cpp
+++ b/
utils/qv4l2/capture-win.cpp
@@
-39,6
+39,7
@@
CaptureWin::CaptureWin(ApplicationWindow *aw) :
setWindowTitle("V4L2 Capture");
m_hotkeyClose = new QShortcut(Qt::CTRL+Qt::Key_W, this);
connect(m_hotkeyClose, SIGNAL(activated()), this, SLOT(close()));
+ connect(new QShortcut(Qt::Key_Q, this), SIGNAL(activated()), this, SLOT(close()));
m_hotkeyScaleReset = new QShortcut(Qt::CTRL+Qt::Key_F, this);
connect(m_hotkeyScaleReset, SIGNAL(activated()), this, SLOT(resetSize()));
connect(aw->m_resetScalingAct, SIGNAL(triggered()), this, SLOT(resetSize()));