diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2014-05-19 12:21:28 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@digia.com> | 2014-05-19 16:51:59 +0200 |
commit | d6b12213a7ce70dd917c4dedcaef38d065af3670 (patch) | |
tree | 02bf4eb2d1098709a0d3be89e2f2b8af7688f705 /src/plugins/projectexplorer/buildprogress.cpp | |
parent | 75c14dab3e1ce7b89f249bfa7b59f21e17b8fa67 (diff) |
ProjectExplorer: Use constants for compile_warning.png and _error
Instead of repeating strings like
":/projectexplorer/images/compile_warning.png" all over the code,
we should use constants for it.
Change-Id: I91b36838d6da0a2332381e433788e796948d26db
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildprogress.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index 504be80279..65623f1f27 100644 --- a/src/plugins/projectexplorer/buildprogress.cpp +++ b/src/plugins/projectexplorer/buildprogress.cpp @@ -85,8 +85,8 @@ BuildProgress::BuildProgress(TaskWindow *taskWindow, Qt::Orientation orientation m_errorIcon->setAlignment(Qt::AlignRight); m_warningIcon->setAlignment(Qt::AlignRight); - m_errorIcon->setPixmap(QPixmap(QLatin1String(":/projectexplorer/images/compile_error.png"))); - m_warningIcon->setPixmap(QPixmap(QLatin1String(":/projectexplorer/images/compile_warning.png"))); + m_errorIcon->setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_ERROR))); + m_warningIcon->setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_WARNING))); m_contentWidget->hide(); |