Fix compile output to be readeable with dark themes

This changes the colors to be a mix of red/blue and the foreground
color. If the regular text color is either of those, well...
This commit is contained in:
dt
2010-07-15 10:29:38 +02:00
parent bf3a9e4e89
commit 615cda8430
15 changed files with 94 additions and 90 deletions

View File

@@ -170,7 +170,7 @@ void MaemoDeployStep::raiseError(const QString &errorString)
}
void MaemoDeployStep::writeOutput(const QString &text,
const QTextCharFormat &format)
ProjectExplorer::BuildStep::OutputFormat format)
{
emit addOutput(text, format);
}
@@ -435,9 +435,7 @@ void MaemoDeployStep::handleInstallerOutput(const QByteArray &output)
void MaemoDeployStep::handleInstallerErrorOutput(const QByteArray &output)
{
QTextCharFormat format;
format.setForeground(QBrush(QColor("red")));
writeOutput(output, format);
writeOutput(output, BuildStep::ErrorOutput);
}