Modify color mixing for compile output / application output

Task-Nr: QTCREATORBUG-1875
This commit is contained in:
dt
2010-07-27 15:21:51 +02:00
parent 3bebc091af
commit 51d6b09efc
2 changed files with 8 additions and 7 deletions

View File

@@ -97,8 +97,8 @@ QWidget *CompileOutputWindow::outputWidget(QWidget *)
static QColor mix_colors(QColor a, QColor b)
{
return QColor((a.red() + b.red()) / 2, (a.green() + b.green()) / 2,
(a.blue() + b.blue()) / 2, (a.alpha() + b.alpha()) / 2);
return QColor((a.red() + 2 * b.red()) / 3, (a.green() + 2 * b.green()) / 3,
(a.blue() + 2* b.blue()) / 3, (a.alpha() + 2 * b.alpha()) / 3);
}
void CompileOutputWindow::appendText(const QString &text, ProjectExplorer::BuildStep::OutputFormat format)