fix: emit signals when aborting NetJob
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
ca282f9fb3
commit
a091245793
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user