Commit 7b8a8670 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

JsonWizard: Remove error reporting when a key was not found

Change-Id: Ic7066aa4ce1a8b2e584c825b5b013b9621c28010
Reviewed-by: default avatarTobias Hunger <>
parent c3012d0e
......@@ -447,7 +447,9 @@ void JsonWizardFactory::runWizard(const QString &path, QWidget *parent, const QS
QList<QVariant> JsonWizardFactory::objectOrList(const QVariant &data, QString *errorMessage)
QList<QVariant> result;
if (data.type() == QVariant::Map)
if (data.isNull())
*errorMessage = tr("key not found.");
else if (data.type() == QVariant::Map)
else if (data.type() == QVariant::List)
result = data.toList();
Supports Markdown
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