Commit 4c5d0a66 authored by Thomas Hartmann's avatar Thomas Hartmann

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's avatarTim Jenssen <tim.jenssen@qt.io>
parent ab206418
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment