diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-10-23 22:07:46 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-10-24 10:38:36 +0200 |
commit | 4de3b9484051483f6f0329f1ec0c3feef325045c (patch) | |
tree | ee0c140cfc40fa45b0ea5c1213dd5e03213fc489 /src/plugins/qtsupport/gettingstartedwelcomepage.cpp | |
parent | bc81930f17f5fe897fd0ede57169a52751b72f73 (diff) | |
download | qt-creator-4de3b9484051483f6f0329f1ec0c3feef325045c.tar.gz |
Crossify normalizePathName
Denoise usages
get{Short|Long}PathName are now static. They're not used anywhere except
in normalizePathName.
Change-Id: Ief277b6d828faadd98ec7faa39dd682bfaa8805f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/qtsupport/gettingstartedwelcomepage.cpp')
-rw-r--r-- | src/plugins/qtsupport/gettingstartedwelcomepage.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/qtsupport/gettingstartedwelcomepage.cpp b/src/plugins/qtsupport/gettingstartedwelcomepage.cpp index a514b0d3b0..54d4ea1123 100644 --- a/src/plugins/qtsupport/gettingstartedwelcomepage.cpp +++ b/src/plugins/qtsupport/gettingstartedwelcomepage.cpp @@ -241,11 +241,8 @@ QString ExamplesWelcomePage::title() const QUrl ExamplesWelcomePage::pageLocation() const { - QString resourcePath = Core::ICore::resourcePath(); -#ifdef Q_OS_WIN // normalize paths so QML doesn't freak out if it's wrongly capitalized on Windows - resourcePath = Utils::normalizePathName(resourcePath); -#endif + const QString resourcePath = Utils::FileUtils::normalizePathName(Core::ICore::resourcePath()); if (m_showExamples) return QUrl::fromLocalFile(resourcePath + QLatin1String("/welcomescreen/examples.qml")); else |