outputwindow: differentiate between stdout and stderr again

Task-number: QTCREATORBUG-3496
This commit is contained in:
hjk
2011-01-26 16:38:03 +01:00
parent 729fb86de7
commit ec834c576f

View File

@@ -115,10 +115,12 @@ void OutputFormatter::initFormats()
// StdOutFormat
m_formats[StdOutFormat].setFont(font);
m_formats[StdOutFormat].setForeground(p.color(QPalette::Text));
m_formats[StdOutFormatSameLine] = m_formats[StdOutFormat];
// StdErrFormat
m_formats[StdErrFormat].setFont(font);
m_formats[StdErrFormat].setForeground(mixColors(p.color(QPalette::Text), QColor(Qt::red)));
m_formats[StdErrFormatSameLine] = m_formats[StdErrFormat];
}
void OutputFormatter::handleLink(const QString &href)