JsonWizard: Mark class-kinds as deprecated in warning.

Change-Id: I381c43fb85b552fef3a07910954482a45cbff5c0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-05-26 12:28:43 +02:00
parent 25f2f8e1ee
commit fd64aeed3e

View File

@@ -498,7 +498,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const QDir &baseDir,
if (strVal != QLatin1String("class") if (strVal != QLatin1String("class")
&& strVal != QLatin1String("file") && strVal != QLatin1String("file")
&& strVal != QLatin1String("project")) { && 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; return false;
} }
IWizardFactory::WizardKind kind = IWizardFactory::ProjectWizard; IWizardFactory::WizardKind kind = IWizardFactory::ProjectWizard;