shortcut adaptation to platform standards on Mac

REVIEW: 120323
This commit is contained in:
R.J.V. Bertin
2016-11-24 17:35:31 +01:00
parent 2671800b08
commit 378518ea4b
12 changed files with 118 additions and 50 deletions

View File

@@ -522,7 +522,7 @@ void Application::startBackgroundMode(MainWindow* window)
QAction * action = collection->addAction("toggle-background-window");
action->setObjectName(QLatin1String("Konsole Background Mode"));
action->setText(i18n("Toggle Background Window"));
action->setGlobalShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F12)));
action->setGlobalShortcut(QKeySequence(Konsole::ACCEL + Qt::SHIFT + Qt::Key_F12)));
connect(action, &QAction::triggered, this, &Application::toggleBackgroundInstance);
*/