From e155a49d905bc3b26d2d5bf60a3bfb9a8978a96b Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 24 May 2022 09:07:22 +0200 Subject: [PATCH] ProjectExplorer: Change argument order in one message Less weird, and the changed-to string already exists. Change-Id: I84412dfe25efd9ba2d35d1e06fd1b21346421acb Reviewed-by: Jarek Kobus --- src/plugins/projectexplorer/runcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/runcontrol.cpp b/src/plugins/projectexplorer/runcontrol.cpp index d690db10a50..a52297f0a80 100644 --- a/src/plugins/projectexplorer/runcontrol.cpp +++ b/src/plugins/projectexplorer/runcontrol.cpp @@ -1497,7 +1497,7 @@ void SimpleTargetRunnerPrivate::forwardDone() if (m_stopReported) return; 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) msg = tr("%1 crashed.").arg(executable); else if (m_stopForced)