aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/welcome
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/welcome
parente55c346f039e8d4577caf4a1ee5c36fe60a35385 (diff)
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/welcome')
-rw-r--r--src/plugins/welcome/welcomemode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/welcome/welcomemode.cpp b/src/plugins/welcome/welcomemode.cpp
index 7d345bc471..4c7e3d5763 100644
--- a/src/plugins/welcome/welcomemode.cpp
+++ b/src/plugins/welcome/welcomemode.cpp
@@ -129,7 +129,7 @@ QString WelcomeMode::displayName() const
QIcon WelcomeMode::icon() const
{
- return QIcon(QLatin1String(":/core/images/qtcreator_logo_32.png"));
+ return QIcon(QLatin1String(Core::Constants::ICON_QTLOGO_32));
}
int WelcomeMode::priority() const