mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix(flame): avoid double-fail assert in file resolving
Signed-off-by: m0nstrum <m0nstrum@proton.me>
(cherry picked from commit f2cf982ea8)
This commit is contained in:
parent
dfeb3463fe
commit
374ecfd2fb
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ void Flame::FileResolvingTask::executeTask()
|
|||
m_task = flameAPI.getFiles(fileIds, m_result.get());
|
||||
|
||||
auto step_progress = std::make_shared<TaskStepProgress>();
|
||||
connect(m_task.get(), &Task::finished, this, [this, step_progress]() {
|
||||
connect(m_task.get(), &Task::succeeded, this, [this, step_progress]() {
|
||||
step_progress->state = TaskStepState::Succeeded;
|
||||
stepProgress(*step_progress);
|
||||
netJobFinished();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue