Code spaghetti and more chaos
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
4cd236ed80
commit
7317105e4d
21 changed files with 613 additions and 391 deletions
|
@ -62,7 +62,7 @@ MetaPtr parseJavaMeta(const QJsonObject& in)
|
|||
}
|
||||
|
||||
if (in.contains("version")) {
|
||||
auto obj = Json::requireObject(in, "checksum");
|
||||
auto obj = Json::requireObject(in, "version");
|
||||
auto name = Json::ensureString(obj, "name", "");
|
||||
auto major = Json::ensureInteger(obj, "major", 0);
|
||||
auto minor = Json::ensureInteger(obj, "minor", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue