diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2014-06-13 11:19:54 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@digia.com> | 2014-06-17 22:45:09 +0200 |
commit | fe08cb89023eab0dbe03cbc905de376b0ca311c5 (patch) | |
tree | 8caa7c72711f33f16a18696f98fb16d0946842b6 /src/plugins/projectexplorer/buildprogress.cpp | |
parent | 232024253ffe14b9d81561458bb1c2ec000efe9b (diff) |
Centralize error/warning/info icons
There are multiple copies of these pngs in different plugins.
Let's have one version in core, also as @2x variant.
Change-Id: Iedff1a6190a72c1947dd202ae1ee46f59f9fb13c
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildprogress.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index 65623f1f27..0300d1ffc8 100644 --- a/src/plugins/projectexplorer/buildprogress.cpp +++ b/src/plugins/projectexplorer/buildprogress.cpp @@ -30,6 +30,7 @@ #include "buildprogress.h" #include "projectexplorerconstants.h" +#include <coreplugin/coreconstants.h> #include <utils/stylehelper.h> #include <QVBoxLayout> @@ -85,8 +86,8 @@ BuildProgress::BuildProgress(TaskWindow *taskWindow, Qt::Orientation orientation m_errorIcon->setAlignment(Qt::AlignRight); m_warningIcon->setAlignment(Qt::AlignRight); - m_errorIcon->setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_ERROR))); - m_warningIcon->setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_WARNING))); + m_errorIcon->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_ERROR))); + m_warningIcon->setPixmap(QPixmap(QLatin1String(Core::Constants::ICON_WARNING))); m_contentWidget->hide(); |