diff options
| author | Felix Ernst <[email protected]> | 2023-10-16 16:32:24 +0200 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2023-10-16 15:05:23 +0000 |
| commit | 6271ee8a5a64de3749d93dfad7765895c30209b4 (patch) | |
| tree | 3fb7e28e0fd2681d7d9b2d1cfe7cd3d62a38a797 /src/dolphinmainwindow.cpp | |
| parent | 4199e7ef20efdba287cbc189495b0c6329989a96 (diff) | |
Remove new tab shortcut Ctrl+Shift+N
Since https://commits.kde.org/kconfig/782e43f8076e5f4a10111a6b4d2cc6b1741c9798
Ctrl+Shift+N is the standard shortcut for creating a new folder
which leads to a shortcut conflict when this key combination is
invoked in Dolphin.
"New Tab" already has the more popular shortcut Ctrl+T assigned to
it, so Ctrl+Shift+N can simply be removed.
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -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 a88e1a594..e5fb4efa9 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1574,7 +1574,7 @@ void DolphinMainWindow::setupActions() "<emphasis>Tab</emphasis> with the current location and view.<nl/>" "A tab is an additional view within this window. " "You can drag and drop items between tabs.")); - actionCollection()->setDefaultShortcuts(newTab, {Qt::CTRL | Qt::Key_T, Qt::CTRL | Qt::SHIFT | Qt::Key_N}); + actionCollection()->setDefaultShortcut(newTab, Qt::CTRL | Qt::Key_T); connect(newTab, &QAction::triggered, this, &DolphinMainWindow::openNewActivatedTab); QAction *addToPlaces = actionCollection()->addAction(QStringLiteral("add_to_places")); |
