mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 11:26:59 +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
|
|
@ -76,6 +76,7 @@ void LaunchTask::executeTask()
|
|||
if (!m_steps.size()) {
|
||||
state = LaunchTask::Finished;
|
||||
emitSucceeded();
|
||||
return;
|
||||
}
|
||||
state = LaunchTask::Running;
|
||||
onStepFinished();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue