forked from qt-creator/qt-creator
JsonWizard: Mark class-kinds as deprecated in warning.
Change-Id: I381c43fb85b552fef3a07910954482a45cbff5c0 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user