Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f0fbcb7e authored by Sven Brauch's avatar Sven Brauch Committed by Kevin Funk

fix crash when stopping process

Differential Revision: https://phabricator.kde.org/D9858

(cherry picked from commit 71f7bed9)
parent 94ed49ac
......@@ -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