How did i-

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-04-07 11:03:11 +01:00
parent b65f4c9536
commit 813ccc1381

View File

@ -164,7 +164,7 @@ void ModrinthPackExportTask::parseApiResponse(QByteArray* response)
task = nullptr; task = nullptr;
try { try {
QJsonDocument doc = Json::requireDocument(*response); const QJsonDocument doc = Json::requireDocument(*response);
QMapIterator<QString, QString> iterator(pendingHashes); QMapIterator<QString, QString> iterator(pendingHashes);
while (iterator.hasNext()) { while (iterator.hasNext()) {
@ -188,6 +188,7 @@ void ModrinthPackExportTask::parseApiResponse(QByteArray* response)
qWarning() << "Failed to parse versions response" << e.what(); qWarning() << "Failed to parse versions response" << e.what();
} }
pendingHashes.clear(); pendingHashes.clear();
buildZip();
} }
void ModrinthPackExportTask::buildZip() void ModrinthPackExportTask::buildZip()