mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
fix: properly emit aborted instead of failed
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
625f0060a1
commit
7bcd2dd768
9 changed files with 11 additions and 11 deletions
|
|
@ -70,7 +70,7 @@ void LegacyFMLLibrariesTask::executeTask()
|
|||
|
||||
connect(dljob.get(), &NetJob::succeeded, this, &LegacyFMLLibrariesTask::fmllibsFinished);
|
||||
connect(dljob.get(), &NetJob::failed, this, &LegacyFMLLibrariesTask::fmllibsFailed);
|
||||
connect(dljob.get(), &NetJob::aborted, this, [this] { emitFailed(tr("Aborted")); });
|
||||
connect(dljob.get(), &NetJob::aborted, this, &LegacyFMLLibrariesTask::emitAborted);
|
||||
connect(dljob.get(), &NetJob::progress, this, &LegacyFMLLibrariesTask::progress);
|
||||
connect(dljob.get(), &NetJob::stepProgress, this, &LegacyFMLLibrariesTask::propagateStepProgress);
|
||||
downloadJob.reset(dljob);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue