forked from qt-creator/qt-creator
Macros: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Idd493b3e6e6b9ea2a33aea77d338d690d14d9b47 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Friedemann Kleint
parent
d74784fab6
commit
9be874ba25
@@ -111,7 +111,8 @@ void MacroOptionsWidget::createTable()
|
||||
macroItem->setData(0, WRITE_ROLE, it.value()->isWritable());
|
||||
|
||||
Core::Command *command =
|
||||
Core::ActionManager::command(Core::Id(Constants::PREFIX_MACRO+it.value()->displayName()));
|
||||
Core::ActionManager::command(Core::Id(QLatin1String(Constants::PREFIX_MACRO)
|
||||
+ it.value()->displayName()));
|
||||
if (command && command->shortcut())
|
||||
macroItem->setText(2, command->shortcut()->key().toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user