┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2023-08-10 14:42:08 +0200
committerNicolas Fella <[email protected]>2023-08-10 14:42:08 +0200
commit521f4937d55ff611ebe46fcbbe162eb2d9d175ad (patch)
tree585a9242d72cfb1f95ac2f4a62c01377fd90f073 /src/dolphinmainwindow.cpp
parent23b7d64d9c284ddc81b2101034bee01b1207fc52 (diff)
parentfc6fa9ba982f73dd2da5e3016006ce74eebb1bac (diff)
Merge branch 'master' into kf6
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index d47eac4b4..7064c63c9 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -631,7 +631,7 @@ void DolphinMainWindow::closeEvent(QCloseEvent *event)
QStringList(),
i18n("Do not ask again"),
&doNotAskAgainCheckboxResult,
- KMessageBox::Dangerous);
+ KMessageBox::Notify | KMessageBox::Dangerous);
if (doNotAskAgainCheckboxResult) {
GeneralSettings::setConfirmClosingTerminalRunningProgram(false);
@@ -1792,7 +1792,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