mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 03:46:58 +03:00
fix: add missing returns after emitFailed/Aborted
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 507de0fcbd)
This commit is contained in:
parent
e7864d6e2b
commit
eacebcc153
12 changed files with 17 additions and 11 deletions
|
|
@ -68,6 +68,7 @@ void AssetUpdateTask::assetIndexFinished()
|
|||
auto entry = metacache->resolveEntry("asset_indexes", assets->id + ".json");
|
||||
metacache->evictEntry(entry);
|
||||
emitFailed(tr("Failed to read the assets index!"));
|
||||
return;
|
||||
}
|
||||
|
||||
auto job = index.getDownloadJob();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue