fix: add missing returns after emitFailed/Aborted

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-01-21 18:20:34 +05:00
parent ef747055af
commit 507de0fcbd
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
12 changed files with 17 additions and 11 deletions

View file

@ -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();