Commit 3fa6aa30 authored by dt's avatar dt
Browse files

Fix wrong output in compile output

Reviewed-By: ossi
parent 7bf0ff8d
...@@ -213,7 +213,7 @@ void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus sta ...@@ -213,7 +213,7 @@ void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus sta
} else if (status == QProcess::NormalExit) { } else if (status == QProcess::NormalExit) {
textCharFormat.setForeground(Qt::red); textCharFormat.setForeground(Qt::red);
textCharFormat.setFontWeight(QFont::Bold); textCharFormat.setFontWeight(QFont::Bold);
emit addOutput(tr("The process \"%1\" exited with code %2.").arg(m_command, m_process->exitCode()), textCharFormat); emit addOutput(tr("The process \"%1\" exited with code %2.").arg(m_command, QString::number(m_process->exitCode())), textCharFormat);
} else { } else {
textCharFormat.setForeground(Qt::red); textCharFormat.setForeground(Qt::red);
textCharFormat.setFontWeight(QFont::Bold); textCharFormat.setFontWeight(QFont::Bold);
......
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