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

@@ -135,9 +135,7 @@ bool MakeStep::init()
// Try to detect command in environment
const QString tmp = environment.searchInPath(makeCmd);
if (tmp.isEmpty()) {
QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::red);
emit addOutput(tr("Could not find make command: %1 in the build environment").arg(makeCmd), textCharFormat);
emit addOutput(tr("Could not find make command: %1 in the build environment").arg(makeCmd), BuildStep::ErrorOutput);
return false;
}
makeCmd = tmp;