Commit 4b0201a7 authored by Kevin Funk's avatar Kevin Funk

Minor: Fix -Wunused-lambda-capture warning

parent 38a6a5d7
......@@ -112,7 +112,7 @@ void FlatpakPlugin::createRuntime(const KDevelop::Path &file, const QString &arc
const KDevelop::Path path(dir->path());
auto process = FlatpakRuntime::createBuildDirectory(path, file, arch);
connect(process, &KJob::finished, this, [this, path, file, arch, dir] (KJob* job) {
connect(process, &KJob::finished, this, [path, file, arch, dir] (KJob* job) {
if (job->error() != 0) {
delete dir;
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment