fix: add missing returns after emitFailed/Aborted

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 507de0fcbd)
This commit is contained in:
Octol1ttle 2026-01-21 18:20:34 +05:00 committed by github-actions[bot]
parent e7864d6e2b
commit eacebcc153
12 changed files with 17 additions and 11 deletions

View file

@ -103,8 +103,8 @@ void ResourceDownloadTask::downloadSucceeded()
void ResourceDownloadTask::downloadFailed(QString reason)
{
emitFailed(reason);
m_filesNetJob.reset();
emitFailed(reason);
}
void ResourceDownloadTask::downloadProgressChanged(qint64 current, qint64 total)