refactor FlameCheckUpdate to remove qEventLoop (#3046)

This commit is contained in:
TheKodeToad
2025-03-20 09:34:26 +00:00
committed by GitHub
15 changed files with 192 additions and 251 deletions

View File

@ -76,10 +76,7 @@ static QString enumToString(int hash_algorithm)
}
}
void FlameMod::loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
QJsonArray& arr,
[[maybe_unused]] const shared_qobject_ptr<QNetworkAccessManager>& network,
const BaseInstance* inst)
void FlameMod::loadIndexedPackVersions(ModPlatform::IndexedPack& pack, QJsonArray& arr)
{
QVector<ModPlatform::IndexedVersion> unsortedVersions;
for (auto versionIter : arr) {