diff options
author | txtsd <thexerothermicsclerodermoid@gmail.com> | 2022-09-12 17:11:19 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 17:11:19 +0530 |
commit | 64a06b5ed664da5b4d3cd1850c0e3284be528f72 (patch) | |
tree | 983a544d0e99b694f9664e00b8a8704e9074b8d3 | |
parent | 69d18f17a5a64a68ba6070fcda8dbfb46ca88aff (diff) | |
parent | a091245793d1e8c9cc4820c76dfdfc6e2fbbb917 (diff) | |
download | PrismLauncher-64a06b5ed664da5b4d3cd1850c0e3284be528f72.tar.gz PrismLauncher-64a06b5ed664da5b4d3cd1850c0e3284be528f72.tar.bz2 PrismLauncher-64a06b5ed664da5b4d3cd1850c0e3284be528f72.zip |
Merge pull request #1123 from flowln/fix_abort_inst
-rw-r--r-- | launcher/net/NetJob.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/net/NetJob.cpp b/launcher/net/NetJob.cpp index 20d75976..8ced1b7e 100644 --- a/launcher/net/NetJob.cpp +++ b/launcher/net/NetJob.cpp @@ -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; } |