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();
|
pendingHashes[relative] = sha512.result().toHex();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setAbortable(true);
|
||||||
makeApiRequest();
|
makeApiRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModrinthPackExportTask::makeApiRequest()
|
void ModrinthPackExportTask::makeApiRequest()
|
||||||
{
|
{
|
||||||
setAbortable(true);
|
|
||||||
|
|
||||||
if (pendingHashes.isEmpty())
|
if (pendingHashes.isEmpty())
|
||||||
buildZip();
|
buildZip();
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user