mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: add missing returns after emitFailed/Aborted
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
ef747055af
commit
507de0fcbd
12 changed files with 17 additions and 11 deletions
|
|
@ -773,8 +773,9 @@ void ComponentUpdateTask::checkIfAllFinished()
|
|||
.arg(component->getName(), component->m_version));
|
||||
}
|
||||
}
|
||||
d->remoteLoadStatusList.clear();
|
||||
|
||||
auto allErrors = allErrorsList.join("\n");
|
||||
emitFailed(tr("Component metadata update task failed while downloading from remote server:\n%1").arg(allErrors));
|
||||
d->remoteLoadStatusList.clear();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue