Merge pull request #185 from flowln/fix_blocked_mods_crash
This commit is contained in:
commit
54c26b05fa
@ -66,7 +66,11 @@ void Flame::FileResolvingTask::netJobFinished()
|
||||
}
|
||||
index++;
|
||||
}
|
||||
connect(job, &NetJob::finished, this, &Flame::FileResolvingTask::modrinthCheckFinished);
|
||||
connect(job, &NetJob::finished, this,
|
||||
[this, &job] {
|
||||
modrinthCheckFinished();
|
||||
job->deleteLater();
|
||||
});
|
||||
|
||||
job->start();
|
||||
}
|
||||
|
@ -136,11 +136,13 @@ void ProgressDialog::onTaskStarted() {}
|
||||
void ProgressDialog::onTaskFailed(QString failure)
|
||||
{
|
||||
reject();
|
||||
hide();
|
||||
}
|
||||
|
||||
void ProgressDialog::onTaskSucceeded()
|
||||
{
|
||||
accept();
|
||||
hide();
|
||||
}
|
||||
|
||||
void ProgressDialog::changeStatus(const QString& status)
|
||||
|
Loading…
Reference in New Issue
Block a user