aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-05-13 18:28:45 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-05-13 18:28:51 +0100
commit129e959a3b0a7d21965b15d6a65b0a9d22994838 (patch)
treefa25f92b30681e835b4bb0c6bd0d47984d053514 /launcher/modplatform
parente1b6020b76401eb5a2f164775f3f738f357e4e2d (diff)
downloadPrismLauncher-129e959a3b0a7d21965b15d6a65b0a9d22994838.tar.gz
PrismLauncher-129e959a3b0a7d21965b15d6a65b0a9d22994838.tar.bz2
PrismLauncher-129e959a3b0a7d21965b15d6a65b0a9d22994838.zip
Move setAbortable(true)
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/modplatform')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackExportTask.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
index c550fdce..8db89bbd 100644
--- a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
+++ b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
@@ -150,13 +150,12 @@ void ModrinthPackExportTask::collectHashes()
pendingHashes[relative] = sha512.result().toHex();
}
+ setAbortable(true);
makeApiRequest();
}
void ModrinthPackExportTask::makeApiRequest()
{
- setAbortable(true);
-
if (pendingHashes.isEmpty())
buildZip();
else {