summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-07-30 22:16:59 +0200
committerAlessandro Portale <alessandro.portale@nokia.com>2010-07-30 22:17:14 +0200
commit3aa3c5688ff6ba7e891acd9f3d7721d2ba718376 (patch)
treec649e3f4f57dc70524677a802ff6b8c9383ff08a /src/plugins/cmakeprojectmanager
parente55c346f039e8d4577caf4a1ee5c36fe60a35385 (diff)
downloadqt-creator-3aa3c5688ff6ba7e891acd9f3d7721d2ba718376.tar.gz
Pedantic cleanup of filename parameters for QIcon constructor
Using more *::Constants::ICON_* where it makes sense and wrapping the file names into QLatin1String where they were missing. The increased usage of the ICON constants needed a few more cross plugin includes of *constants.h, here and there. I think that it is OK, since the dependencies were alredy there icon resource wise.
Diffstat (limited to 'src/plugins/cmakeprojectmanager')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp b/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
index 3d1c180ae0..dec094d031 100644
--- a/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
@@ -34,6 +34,7 @@
#include "cmakeprojectconstants.h"
#include "cmaketarget.h"
+#include <coreplugin/coreconstants.h>
#include <projectexplorer/environment.h>
#include <projectexplorer/debugginghelper.h>
#include <utils/qtcassert.h>
@@ -330,7 +331,7 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
QToolButton *resetButton = new QToolButton();
resetButton->setToolTip(tr("Reset to default"));
- resetButton->setIcon(QIcon(":/core/images/reset.png"));
+ resetButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_RESET)));
QHBoxLayout *boxlayout = new QHBoxLayout();
boxlayout->addWidget(m_workingDirectoryEdit);