refactor: move individual pack version parsing to its own function

This commit is contained in:
flow
2022-04-22 13:23:47 -03:00
committed by flow
parent 67e0214fa5
commit 5c5699bba5
2 changed files with 55 additions and 41 deletions

View File

@ -29,5 +29,6 @@ void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
QJsonArray& arr,
const shared_qobject_ptr<QNetworkAccessManager>& network,
BaseInstance* inst);
auto loadIndexedPackVersion(QJsonObject& obj) -> ModPlatform::IndexedVersion;
} // namespace Modrinth