aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/buildprogress.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-01-02 12:37:49 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-01-02 12:27:54 +0000
commit018ba5a8341eb23f7e376f816229c0ac73d85f18 (patch)
treeb90df80e0f941d4cc4d85c983b81547217d8e05b /src/plugins/projectexplorer/buildprogress.cpp
parent3ed12811e0e5a9958f90e5ccff3691629154a10f (diff)
Rename the "ERROR" icon to "CRITICAL"
We mostly use this icon in terms of showing messages which might be informational, warnings, or errors. We cannot call the icon "ERROR" as that clashes with some macro on windows. To be more inline with Qt's predefined messaging macros (qDebug(), qInfo(), qWarning(), qCritical(), qFatal()), we rename the icon to "CRITICAL" and regroup the entries in the header to suggest this usage. Change-Id: I89880919d7ca54ea9c86de384eb29f375bf3075f Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r--src/plugins/projectexplorer/buildprogress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp
index 1eb40912e2..589a2c573c 100644
--- a/src/plugins/projectexplorer/buildprogress.cpp
+++ b/src/plugins/projectexplorer/buildprogress.cpp
@@ -84,7 +84,7 @@ BuildProgress::BuildProgress(TaskWindow *taskWindow, Qt::Orientation orientation
m_errorIcon->setAlignment(Qt::AlignRight);
m_warningIcon->setAlignment(Qt::AlignRight);
- m_errorIcon->setPixmap(Utils::Icons::ERROR_TOOLBAR.pixmap());
+ m_errorIcon->setPixmap(Utils::Icons::CRITICAL_TOOLBAR.pixmap());
m_warningIcon->setPixmap(Utils::Icons::WARNING_TOOLBAR.pixmap());
m_contentWidget->hide();