Commit fd64aeed authored by Tobias Hunger's avatar Tobias Hunger
Browse files

JsonWizard: Mark class-kinds as deprecated in warning.



Change-Id: I381c43fb85b552fef3a07910954482a45cbff5c0
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 25f2f8e1
......@@ -498,7 +498,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const QDir &baseDir,
if (strVal != QLatin1String("class")
&& strVal != QLatin1String("file")
&& strVal != QLatin1String("project")) {
*errorMessage = tr("\"kind\" value \"%1\" is not \"class\", \"file\" or \"project\".").arg(strVal);
*errorMessage = tr("\"kind\" value \"%1\" is not \"class\" (deprecated!), \"file\" or \"project\".").arg(strVal);
return false;
}
IWizardFactory::WizardKind kind = IWizardFactory::ProjectWizard;
......
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