forked from qt-creator/qt-creator
more Id type fixes
Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283 x Change-Id: Iab58bc34bc56371405d132315573b484a533b77c Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -203,7 +203,7 @@ void ModeManager::objectAdded(QObject *obj)
|
||||
|
||||
// Register mode shortcut
|
||||
ActionManager *am = d->m_mainWindow->actionManager();
|
||||
const QString shortcutId = QLatin1String("QtCreator.Mode.") + mode->id();
|
||||
const Id shortcutId(QLatin1String("QtCreator.Mode.") + mode->id());
|
||||
QShortcut *shortcut = new QShortcut(d->m_mainWindow);
|
||||
shortcut->setWhatsThis(tr("Switch to <b>%1</b> mode").arg(mode->displayName()));
|
||||
Command *cmd = am->registerShortcut(shortcut, shortcutId, Context(Constants::C_GLOBAL));
|
||||
|
||||
Reference in New Issue
Block a user