diff options
| author | Roman Inflianskas <[email protected]> | 2018-03-02 10:52:47 +0300 |
|---|---|---|
| committer | Roman Inflianskas <[email protected]> | 2018-03-03 08:38:03 +0300 |
| commit | bf0d259ae50d559bae9847051d3cf96b3d85076c (patch) | |
| tree | 7f285df6436854314805066113693cca31ea29c2 /src | |
| parent | e46421bfeee7a2d4f8f61c24feee2758325e86a4 (diff) | |
Add default shortcut "/" for opening filter panel
Summary:
Add default shortcut "/" for opening filter panel.
FEATURE: 156381
Reviewers: #dolphin, ngraham
Reviewed By: #dolphin, ngraham
Subscribers: ngraham, #dolphin
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D10961
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 280f337bc..2abf22947 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1166,7 +1166,7 @@ void DolphinMainWindow::setupActions() QAction* showFilterBar = actionCollection()->addAction(QStringLiteral("show_filter_bar")); showFilterBar->setText(i18nc("@action:inmenu Tools", "Show Filter Bar")); showFilterBar->setIcon(QIcon::fromTheme(QStringLiteral("view-filter"))); - actionCollection()->setDefaultShortcut(showFilterBar, Qt::CTRL | Qt::Key_I); + actionCollection()->setDefaultShortcuts(showFilterBar, {Qt::CTRL + Qt::Key_I, Qt::Key_Slash}); connect(showFilterBar, &QAction::triggered, this, &DolphinMainWindow::showFilterBar); QAction* compareFiles = actionCollection()->addAction(QStringLiteral("compare_files")); |
