From 6271ee8a5a64de3749d93dfad7765895c30209b4 Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Mon, 16 Oct 2023 16:32:24 +0200 Subject: [PATCH] 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. --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index a88e1a594a..e5fb4efa99 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1574,7 +1574,7 @@ void DolphinMainWindow::setupActions() "Tab with the current location and view." "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"));