forked from qt-creator/qt-creator
IWizardFactory: Use Core::Id to identify a wizard
Change-Id: I9e1e9ce9a61d7d06a9869f309ed3089d843137a2 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -514,7 +514,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const QDir &baseDir,
|
||||
*errorMessage = tr("No id set.");
|
||||
return false;
|
||||
}
|
||||
setId(strVal);
|
||||
setId(Core::Id::fromString(strVal));
|
||||
|
||||
strVal = data.value(QLatin1String(CATEGORY_KEY)).toString();
|
||||
if (strVal.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user