Commit 7f61d113 authored by hjk's avatar hjk

Designer: Remove use of deprecated Core::Id(QString)

Change-Id: I3edd01064a560b9297ec424003972f131185803b
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 3bc5d4c7
......@@ -617,7 +617,7 @@ Core::ActionContainer *FormEditorW::createPreviewStyleMenu(QActionGroup *actionG
name += dot;
}
name += data.toString();
Core::Command *command = Core::ActionManager::registerAction(a, Core::Id(name), m_contexts);
Core::Command *command = Core::ActionManager::registerAction(a, Core::Id::fromString(name), m_contexts);
bindShortcut(command, a);
if (isDeviceProfile) {
command->setAttribute(Core::Command::CA_UpdateText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment