ProjectExplorer: Fix the exit message fix

Amends f5c255e04c.

Change-Id: I87b13aa4504fb7aef4315eac57e8e8f0906a1a32
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-10 08:31:26 +02:00
parent f849702bd7
commit 1602452351

View File

@@ -1233,8 +1233,7 @@ void SimpleTargetRunner::doStart(const Runnable &runnable)
msg = tr("The process was ended forcefully.");
else if (resultData.m_error != QProcess::UnknownError)
msg = userMessageForProcessError(resultData.m_error, runnable.command.executable());
const QString displayName = runnable.command.executable().toUserOutput();
appendMessage(msg.arg(displayName), Utils::NormalMessageFormat);
appendMessage(msg, NormalMessageFormat);
m_stopReported = true;
reportStopped();
});