Fix wrong output in compile output

Reviewed-By: ossi
This commit is contained in:
dt
2010-06-15 12:46:12 +02:00
parent 7bf0ff8dc2
commit 3fa6aa3008

View File

@@ -213,7 +213,7 @@ void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus sta
} else if (status == QProcess::NormalExit) {
textCharFormat.setForeground(Qt::red);
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 {
textCharFormat.setForeground(Qt::red);
textCharFormat.setFontWeight(QFont::Bold);