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

@@ -50,8 +50,8 @@ void IOutputParser::appendOutputParser(IOutputParser *parser)
}
m_parser = parser;
connect(parser, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(outputAdded(QString, QTextCharFormat)), Qt::DirectConnection);
connect(parser, SIGNAL(addOutput(QString, ProjectExplorer::BuildStep::OutputFormat)),
this, SLOT(outputAdded(QString, ProjectExplorer::BuildStep::OutputFormat)), Qt::DirectConnection);
connect(parser, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(taskAdded(ProjectExplorer::Task)), Qt::DirectConnection);
}
@@ -84,9 +84,9 @@ void IOutputParser::stdError(const QString &line)
m_parser->stdError(line);
}
void IOutputParser::outputAdded(const QString &string, const QTextCharFormat &textCharFormat)
void IOutputParser::outputAdded(const QString &string, ProjectExplorer::BuildStep::OutputFormat format)
{
emit addOutput(string, textCharFormat);
emit addOutput(string, format);
}
void IOutputParser::taskAdded(const ProjectExplorer::Task &task)