From: Amol Godbole Date: Thu, 3 Aug 2023 11:00:51 +0000 (+0000) Subject: Add alternate shortcut for replaceLocation action X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0dac2ea9e94fc4c3843476f6c4da44a6596619d9 Add alternate shortcut for replaceLocation action Alt + D is a common shortcut for replacing location. Add this as an alternate shortcut. BUG: 468445 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2baaa1198..e6a025ed6 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1800,7 +1800,7 @@ void DolphinMainWindow::setupActions() replaceLocation->setWhatsThis(xi18nc("@info:whatsthis", "This switches to editing the location and selects it " "so you can quickly enter a different location.")); - actionCollection()->setDefaultShortcut(replaceLocation, Qt::CTRL | Qt::Key_L); + actionCollection()->setDefaultShortcuts(replaceLocation, {Qt::CTRL | Qt::Key_L, Qt::ALT | Qt::Key_D}); connect(replaceLocation, &QAction::triggered, this, &DolphinMainWindow::replaceLocation); // setup 'Go' menu