Commit 2adeca0d authored by Kevin Funk's avatar Kevin Funk

Minor: Fix -Wunused-lambda-capture warning

parent f0fbcb7e
...@@ -40,7 +40,7 @@ class IdentityRuntime : public IRuntime ...@@ -40,7 +40,7 @@ class IdentityRuntime : public IRuntime
#else #else
connect(process, &QProcess::errorOccurred, connect(process, &QProcess::errorOccurred,
#endif #endif
this, [process](QProcess::ProcessError error) { this, [](QProcess::ProcessError error) {
qCWarning(SHELL) << "process finished with error:" << error; qCWarning(SHELL) << "process finished with error:" << error;
}); });
process->start(); process->start();
...@@ -51,7 +51,7 @@ class IdentityRuntime : public IRuntime ...@@ -51,7 +51,7 @@ class IdentityRuntime : public IRuntime
#else #else
connect(process, &QProcess::errorOccurred, connect(process, &QProcess::errorOccurred,
#endif #endif
this, [process](QProcess::ProcessError error) { this, [](QProcess::ProcessError error) {
qCWarning(SHELL) << "process finished with error:" << error; qCWarning(SHELL) << "process finished with error:" << error;
}); });
process->start(); process->start();
......
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