Bugfix: When parsing JSON data to item values all the values were converted to strings.
This commit is contained in:
@ -96,5 +96,5 @@ pair<int, QVariant> JsonParser::getKeyValuePair(const QJsonObject& itemJsonObjec
|
|||||||
} else {
|
} else {
|
||||||
qCritical() << QString("Cant find data type of role %1!!!").arg(role);
|
qCritical() << QString("Cant find data type of role %1!!!").arg(role);
|
||||||
}
|
}
|
||||||
return pair<int, QVariant>(role, result.toString());
|
return pair<int, QVariant>(role, result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user