Commit 4c737d71 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

JsonWizard: Small improvement to error message



Change-Id: I54368d8f7ceba1e43b0834f106edf16e065ad32d
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent e8d02209
...@@ -180,7 +180,7 @@ static JsonWizardFactory::Page parsePage(const QVariant &value, QString *errorMe ...@@ -180,7 +180,7 @@ static JsonWizardFactory::Page parsePage(const QVariant &value, QString *errorMe
bool ok; bool ok;
int index = data.value(QLatin1String(PAGE_INDEX_KEY), -1).toInt(&ok); int index = data.value(QLatin1String(PAGE_INDEX_KEY), -1).toInt(&ok);
if (!ok) { if (!ok) {
*errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page with typeId \"%1\" has invalid index.") *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizardFactory", "Page with typeId \"%1\" has invalid \"index\".")
.arg(typeId.toString()); .arg(typeId.toString());
return p; return p;
} }
......
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