forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user