Commit 71f7bed9 authored by Sven Brauch's avatar Sven Brauch

fix crash when stopping process

Differential Revision: https://phabricator.kde.org/D9858
parent da4268d3
......@@ -41,7 +41,7 @@ class IdentityRuntime : public IRuntime
connect(process, &QProcess::errorOccurred,
#endif
this, [process](QProcess::ProcessError error) {
qCWarning(SHELL) << "error:" << error << process->program() << process->errorString();
qCWarning(SHELL) << "process finished with error:" << error;
});
process->start();
}
......@@ -52,7 +52,7 @@ class IdentityRuntime : public IRuntime
connect(process, &QProcess::errorOccurred,
#endif
this, [process](QProcess::ProcessError error) {
qCWarning(SHELL) << "error:" << error << process->program() << process->errorString();
qCWarning(SHELL) << "process finished with error:" << error;
});
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