From 57d2d6eb53124076b091308ab1472d94292a5109 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 12 Mar 2015 12:32:00 +0100 Subject: [PATCH] Help: Change OSX shortcut for bookmarks to Alt+Meta+M The default shortcut for Help bookmarks Meta+B overrode the shortcut for "cursor back". This patch changes it to Alt+Meta+M, which not only removes the conflict but also makes it the same shortcut as the one for the editor sidebar bookmarks. Task-number: QTCREATORBUG-13093 Change-Id: I6f4f6c4891c34a3a00c39632bb0dae119d73cb99 Reviewed-by: Eike Ziller --- src/plugins/help/helpwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/help/helpwidget.cpp b/src/plugins/help/helpwidget.cpp index 98ca352d44e..0d62fa81a1c 100644 --- a/src/plugins/help/helpwidget.cpp +++ b/src/plugins/help/helpwidget.cpp @@ -335,7 +335,7 @@ void HelpWidget::addSideBar() m_bookmarkAction = new QAction(tr("Activate Help Bookmarks View"), this); cmd = Core::ActionManager::registerAction(m_bookmarkAction, Constants::HELP_BOOKMARKS, m_context->context()); - cmd->setDefaultKeySequence(QKeySequence(Core::UseMacShortcuts ? tr("Meta+B") + cmd->setDefaultKeySequence(QKeySequence(Core::UseMacShortcuts ? tr("Alt+Meta+M") : tr("Ctrl+Shift+B"))); shortcutMap.insert(QLatin1String(Constants::HELP_BOOKMARKS), cmd);