From: Jekyll Wu Date: Sun, 12 Aug 2012 14:18:50 +0000 (+0800) Subject: Swap shortcuts of "editable_location" and "replace_location" actions X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/db54a5800efb727776c83cd810f40010da66c712 Swap shortcuts of "editable_location" and "replace_location" actions That makes "Ctrl+L" less surprising to users who use it frequently in web browsers BUG: 183821 FIXED-IN: 4.10.0 REVIEW: 105994 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 1ce51935f..fe3024d23 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1560,12 +1560,12 @@ void DolphinMainWindow::setupActions() KToggleAction* editableLocation = actionCollection()->add("editable_location"); editableLocation->setText(i18nc("@action:inmenu Navigation Bar", "Editable Location")); - editableLocation->setShortcut(Qt::CTRL | Qt::Key_L); + editableLocation->setShortcut(Qt::Key_F6); connect(editableLocation, SIGNAL(triggered()), this, SLOT(toggleEditLocation())); KAction* replaceLocation = actionCollection()->addAction("replace_location"); replaceLocation->setText(i18nc("@action:inmenu Navigation Bar", "Replace Location")); - replaceLocation->setShortcut(Qt::Key_F6); + replaceLocation->setShortcut(Qt::CTRL | Qt::Key_L); connect(replaceLocation, SIGNAL(triggered()), this, SLOT(replaceLocation())); // setup 'Go' menu