diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-02-08 11:30:52 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-02-08 13:34:15 +0000 |
commit | 4c5d0a661146e2722d68627e58245704523ae15e (patch) | |
tree | 814dd108c3075e286485e2bb18609cd00f3ccc47 /src/plugins/qmldesigner/shortcutmanager.cpp | |
parent | ab206418c791f012352be0191c034a701dea5fa6 (diff) |
QmlDesigner: Never use ALT+CRTL for shortcuts
The users of certain keyboard layouts do not
like it, if e.g. their shortcut for "}" is taken by a shortcut.
Change-Id: I93db8627d23624ed3a87dd6a8bfafc037caee0a4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/shortcutmanager.cpp')
-rw-r--r-- | src/plugins/qmldesigner/shortcutmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/shortcutmanager.cpp b/src/plugins/qmldesigner/shortcutmanager.cpp index 6f25e53d66..b14d79d337 100644 --- a/src/plugins/qmldesigner/shortcutmanager.cpp +++ b/src/plugins/qmldesigner/shortcutmanager.cpp @@ -241,7 +241,7 @@ void ShortCutManager::registerActions(const Core::Context &qmlDesignerMainContex command = Core::ActionManager::registerAction(&m_toggleLeftSidebarAction, Constants::TOGGLE_LEFT_SIDEBAR, qmlDesignerMainContext); command->setAttribute(Core::Command::CA_Hide); - command->setDefaultKeySequence(QKeySequence("Ctrl+Alt+0")); + command->setDefaultKeySequence(QKeySequence("Ctrl+Shift+0")); viewsMenu->addAction(command); command = Core::ActionManager::registerAction(&m_toggleRightSidebarAction, Constants::TOGGLE_RIGHT_SIDEBAR, qmlDesignerMainContext); @@ -251,7 +251,7 @@ void ShortCutManager::registerActions(const Core::Context &qmlDesignerMainContex command = Core::ActionManager::registerAction(&m_collapseExpandStatesAction, Constants::TOGGLE_STATES_EDITOR, qmlDesignerMainContext); command->setAttribute(Core::Command::CA_Hide); - command->setDefaultKeySequence(QKeySequence("Ctrl+Alt+s")); + command->setDefaultKeySequence(QKeySequence("Ctrl+Shift+s")); viewsMenu->addAction(command); command = Core::ActionManager::registerAction(&m_restoreDefaultViewAction, Constants::RESTORE_DEFAULT_VIEW, qmlDesignerMainContext); |