mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 19:36:57 +03:00
fix: add missing returns after emitSucceeded
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit e27246c3f9)
This commit is contained in:
parent
eacebcc153
commit
1ff7d25352
3 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue