Fix more clang issues

It doesn't seem to like capturing structured bindings, even though they are tuple-like
This commit is contained in:
zhupengfei
2020-06-20 23:16:19 +08:00
parent e9d7ec7244
commit f009574b1e
3 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -632,7 +632,7 @@ void ImportDialog::StartDumpingCXI(const Core::ContentSpecifier& specifier) {
});
connect(job, &ProgressiveJob::Completed, this,
[dialog] { dialog->setValue(dialog->maximum()); });
connect(dialog, &QProgressDialog::canceled, this, [this, job] { job->Cancel(); });
connect(dialog, &QProgressDialog::canceled, this, [job] { job->Cancel(); });
job->start();
}