ProjectExplorer: Change argument order in one message

Less weird, and the changed-to string already exists.

Change-Id: I84412dfe25efd9ba2d35d1e06fd1b21346421acb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-24 09:07:22 +02:00
parent 21ed15fcc9
commit e155a49d90

View File

@@ -1497,7 +1497,7 @@ void SimpleTargetRunnerPrivate::forwardDone()
if (m_stopReported) if (m_stopReported)
return; return;
const QString executable = m_runnable.command.executable().toUserOutput(); const QString executable = m_runnable.command.executable().toUserOutput();
QString msg = tr("%2 exited with code %1").arg(m_resultData.m_exitCode).arg(executable); QString msg = tr("%1 exited with code %2").arg(executable).arg(m_resultData.m_exitCode);
if (m_resultData.m_exitStatus == QProcess::CrashExit) if (m_resultData.m_exitStatus == QProcess::CrashExit)
msg = tr("%1 crashed.").arg(executable); msg = tr("%1 crashed.").arg(executable);
else if (m_stopForced) else if (m_stopForced)