┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmol Godbole <[email protected]>2023-08-03 11:00:51 +0000
committerMéven Car <[email protected]>2023-08-03 11:00:51 +0000
commit0dac2ea9e94fc4c3843476f6c4da44a6596619d9 (patch)
treef65316d855ce9466753c4ec6eedb2360688e4e79 /src
parentc1b260524381c4ac19d8055a4f716723ab7fb649 (diff)
Add alternate shortcut for replaceLocation action
Alt + D is a common shortcut for replacing location. Add this as an alternate shortcut. BUG: 468445
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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