forked from qt-creator/qt-creator
Mac: Avoid more Opt+<char> shortcuts.
Change-Id: I1f2ae70ed8b184be6d1467642924289af1b535a9 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "projectmodels.h"
|
||||
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
@@ -412,7 +413,7 @@ Core::Id ProjectTreeWidgetFactory::id() const
|
||||
|
||||
QKeySequence ProjectTreeWidgetFactory::activationSequence() const
|
||||
{
|
||||
return QKeySequence(Qt::ALT + Qt::Key_X);
|
||||
return QKeySequence(Core::UseMacShortcuts ? tr("Meta+X") : tr("Alt+X"));
|
||||
}
|
||||
|
||||
Core::NavigationView ProjectTreeWidgetFactory::createWidget()
|
||||
|
||||
Reference in New Issue
Block a user