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/baremetal | |
parent | 75c14dab3e1ce7b89f249bfa7b59f21e17b8fa67 (diff) | |
download | qt-creator-d6b12213a7ce70dd917c4dedcaef38d065af3670.tar.gz |
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/baremetal')
-rw-r--r-- | src/plugins/baremetal/baremetalrunconfigurationwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/baremetal/baremetalrunconfigurationwidget.cpp b/src/plugins/baremetal/baremetalrunconfigurationwidget.cpp index 9cd5c91e19..1e244aeacf 100644 --- a/src/plugins/baremetal/baremetalrunconfigurationwidget.cpp +++ b/src/plugins/baremetal/baremetalrunconfigurationwidget.cpp @@ -86,7 +86,7 @@ void BareMetalRunConfigurationWidget::addDisabledLabel(QVBoxLayout *topLayout) { QHBoxLayout * const hl = new QHBoxLayout; hl->addStretch(); - d->disabledIcon.setPixmap(QPixmap(QLatin1String(":/projectexplorer/images/compile_warning.png"))); + d->disabledIcon.setPixmap(QPixmap(QLatin1String(ProjectExplorer::Constants::ICON_WARNING))); hl->addWidget(&d->disabledIcon); d->disabledReason.setVisible(false); hl->addWidget(&d->disabledReason); |