fix(LoggedProcess): show process start error string

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 6c15077731)
This commit is contained in:
Octol1ttle 2026-06-04 20:27:53 +05:00 committed by github-actions[bot]
parent 479d111482
commit ef2ebf0894

View file

@ -114,7 +114,7 @@ void LoggedProcess::on_error(QProcess::ProcessError error)
{
switch (error) {
case QProcess::FailedToStart: {
emit log({ tr("The process failed to start.") }, MessageLevel::Fatal);
emit log({ tr("The process failed to start: %1").arg(errorString()) }, MessageLevel::Fatal);
changeState(LoggedProcess::FailedToStart);
break;
}