Move setAbortable(true)
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
e1b6020b76
commit
129e959a3b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user