Remove shortcut for detach tab

Currently the shortcut is Ctrl+Shift+L which is close to
Ctrl+Shift+K.  Ideally we want detach tab to not be a shortcut that can
be accidently pressed.

See https://invent.kde.org/kde/konsole/-/issues/6
This commit is contained in:
Kurt Hindenburg
2020-03-28 12:23:22 -04:00
parent 8ad28a1257
commit d65e6e9709

View File

@@ -158,9 +158,6 @@ void ViewManager::setupActions()
action->setText(i18nc("@action:inmenu", "Detach Current &Tab"));
connect(action, &QAction::triggered, this, &ViewManager::detachActiveTab);
_multiTabOnlyActions << action;
// Ctrl+Shift+D is not used as a shortcut by default because it is too close
// to Ctrl+D - which will terminate the session in many cases
collection->setDefaultShortcut(action, Konsole::ACCEL + Qt::SHIFT + Qt::Key_L);
// keyboard shortcut only actions
action = new QAction(i18nc("@action Shortcut entry", "Next Tab"), this);