Theming: Unify some duplicate color roles

Change-Id: Ic000abd9bd9381e20126d0ce56ce68a35a07efe2
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-03-30 10:47:48 +03:00
committed by Orgad Shaneh
parent e623de1ede
commit 919e3c7261
6 changed files with 32 additions and 45 deletions

View File

@@ -197,14 +197,14 @@ void CompileOutputWindow::appendText(const QString &text, BuildStep::OutputForma
textFormat.setFontWeight(QFont::Normal);
break;
case BuildStep::ErrorOutput:
textFormat.setForeground(theme->color(Theme::CompileOutput_ErrorOutput));
textFormat.setForeground(theme->color(Theme::OutputPanes_ErrorMessageTextColor));
textFormat.setFontWeight(QFont::Normal);
break;
case BuildStep::MessageOutput:
textFormat.setForeground(theme->color(Theme::CompileOutput_MessageOutput));
textFormat.setForeground(theme->color(Theme::OutputPanes_MessageOutput));
break;
case BuildStep::ErrorMessageOutput:
textFormat.setForeground(theme->color(Theme::CompileOutput_ErrorMessageOutput));
textFormat.setForeground(theme->color(Theme::OutputPanes_ErrorMessageTextColor));
textFormat.setFontWeight(QFont::Bold);
break;