summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/compileoutputwindow.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-01-12 10:59:12 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-01-19 16:08:57 +0000
commitc05a3fdb3de59a3b9bd91dafee20453d5a138cfc (patch)
tree7d0e56d73efc477b5cfa195781f7971c4410219e /src/plugins/projectexplorer/compileoutputwindow.cpp
parent0e874ba59935cfaba1c4c0e12a423064814ddaa4 (diff)
downloadqt-creator-c05a3fdb3de59a3b9bd91dafee20453d5a138cfc.tar.gz
Give the values of BuildStep::OutputFormat better names
The old ones did not convey their meaning very well. In particular, NormalOutput and MessageOutput were easily confused. Change-Id: Ia0a8c1b1c366ab3f5c59f751b37b8b1f68f6831d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/compileoutputwindow.cpp')
-rw-r--r--src/plugins/projectexplorer/compileoutputwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/compileoutputwindow.cpp b/src/plugins/projectexplorer/compileoutputwindow.cpp
index 31d22f0d15..72e5a9a26c 100644
--- a/src/plugins/projectexplorer/compileoutputwindow.cpp
+++ b/src/plugins/projectexplorer/compileoutputwindow.cpp
@@ -254,18 +254,18 @@ void CompileOutputWindow::appendText(const QString &text, BuildStep::OutputForma
Theme *theme = Utils::creatorTheme();
QTextCharFormat textFormat;
switch (format) {
- case BuildStep::NormalOutput:
+ case BuildStep::OutputFormat::Stdout:
textFormat.setForeground(theme->color(Theme::TextColorNormal));
textFormat.setFontWeight(QFont::Normal);
break;
- case BuildStep::ErrorOutput:
+ case BuildStep::OutputFormat::Stderr:
textFormat.setForeground(theme->color(Theme::OutputPanes_ErrorMessageTextColor));
textFormat.setFontWeight(QFont::Normal);
break;
- case BuildStep::MessageOutput:
+ case BuildStep::OutputFormat::NormalMessage:
textFormat.setForeground(theme->color(Theme::OutputPanes_MessageOutput));
break;
- case BuildStep::ErrorMessageOutput:
+ case BuildStep::OutputFormat::ErrorMessage:
textFormat.setForeground(theme->color(Theme::OutputPanes_ErrorMessageTextColor));
textFormat.setFontWeight(QFont::Bold);
break;