Update QJsonSchemaChecker.cpp

This commit is contained in:
brindosch 2016-10-16 17:34:20 +02:00 committed by GitHub
parent 1565d60d86
commit 2cc4cdde26
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void QJsonSchemaChecker::checkItems(const QJsonValue & value, const QJsonObject
std::ostringstream oss;
oss << "[" << i << "]";
_currentPath.push_back(oss.str());
validate(jArray[i].toObject(), schema);
validate(jArray[i], schema);
_currentPath.pop_back();
}
}