fix: add missing returns after emitSucceeded

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit e27246c3f9)
This commit is contained in:
Octol1ttle 2026-01-21 18:28:29 +05:00 committed by github-actions[bot]
parent eacebcc153
commit 1ff7d25352
3 changed files with 3 additions and 2 deletions

View file

@ -145,8 +145,8 @@ void Hasher::executeTask()
} else if (m_result = m_future.result(); m_result.isEmpty()) {
emitFailed("Empty hash!");
} else {
emitSucceeded();
emit resultsReady(m_result);
emitSucceeded();
}
});
m_watcher.setFuture(m_future);