fix: emit signals when aborting NetJob

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-09-10 09:10:16 -03:00
parent ca282f9fb3
commit a091245793

View File

@ -95,6 +95,11 @@ auto NetJob::abort() -> bool
fullyAborted &= part->abort();
}
if (fullyAborted)
emitAborted();
else
emitFailed(tr("Failed to abort all tasks in the NetJob!"));
return fullyAborted;
}