diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-04-19 11:58:48 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-04-19 14:51:36 +0000 |
commit | cbf8e0b2d67b11c4af022890be75883920106899 (patch) | |
tree | 1a09f7f7c9781a85cff5ecea833b34927bfb2b91 /src/plugins/coreplugin/progressmanager | |
parent | 2ed089ba7f4485adb385fdd2106149a8192104ca (diff) | |
download | qt-creator-cbf8e0b2d67b11c4af022890be75883920106899.tar.gz |
Fix Shortcut for right sidebar
Ctrl+0 was confliciting with "Reset Font Size".
Task-number: QTCREATORBUG-17857
Change-Id: I280c65446fd1f8ce3af66b06760ed7b9b210e8c3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/progressmanager')
-rw-r--r-- | src/plugins/coreplugin/progressmanager/progressmanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.cpp b/src/plugins/coreplugin/progressmanager/progressmanager.cpp index 3b3c1cf6fc..e583aa0c79 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.cpp +++ b/src/plugins/coreplugin/progressmanager/progressmanager.cpp @@ -340,9 +340,7 @@ void ProgressManagerPrivate::init() toggleProgressView->setIcon(QIcon(p)); Command *cmd = ActionManager::registerAction(toggleProgressView, "QtCreator.ToggleProgressDetails"); - cmd->setDefaultKeySequence(QKeySequence(HostOsInfo::isMacHost() - ? tr("Ctrl+Shift+0") - : tr("Alt+Shift+0"))); + connect(toggleProgressView, &QAction::toggled, this, &ProgressManagerPrivate::progressDetailsToggled); toggleButton->setDefaultAction(cmd->action()); |