diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-01-09 19:21:28 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-10 16:07:25 +0700 |
commit | e5ae3fca7fce07b5415f66fab937420f07aa70c6 (patch) | |
tree | c8dbfc85ca5a00f2c6d98314788ebbe5ef421e98 | |
parent | 7ba167e1b340497ff60e4931bbfcbc05b17b9feb (diff) | |
download | subsurface-e5ae3fca7fce07b5415f66fab937420f07aa70c6.tar.gz |
Make Ctrl-F window shortcut
The shortcut may be used elsewhere, e.g. in user manual
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/divelistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index 9f5b0c0a7..d6331e8e2 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -42,7 +42,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec header()->setStretchLastSection(true); QAction *showSearchBox = new QAction(tr("Show Search Box"), this); showSearchBox->setShortcut( Qt::CTRL + Qt::Key_F); - showSearchBox->setShortcutContext(Qt::ApplicationShortcut); + showSearchBox->setShortcutContext(Qt::WindowShortcut); addAction(showSearchBox); searchBox->installEventFilter(this); |