From d54df03794e1d3104eced3f73808b670e12b8a39 Mon Sep 17 00:00:00 2001
From: Alessandro Portale <alessandro.portale@nokia.com>
Date: Wed, 15 Apr 2009 18:34:03 +0200
Subject: [PATCH] Don't annoy Windows users with alien dir separators

---
 src/plugins/coreplugin/welcomemode.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/coreplugin/welcomemode.cpp b/src/plugins/coreplugin/welcomemode.cpp
index 05fd51f15af..52e761bc72b 100644
--- a/src/plugins/coreplugin/welcomemode.cpp
+++ b/src/plugins/coreplugin/welcomemode.cpp
@@ -42,6 +42,7 @@
 #include <QtGui/QToolBar>
 #include <QtGui/QDesktopServices>
 
+#include <QtCore/QDir>
 #include <QtCore/QFile>
 #include <QtCore/QTextStream>
 #include <QtCore/QDebug>
@@ -239,7 +240,7 @@ void WelcomeMode::updateWelcomePage(const WelcomePageData &welcomePageData)
             for( it = welcomePageData.projectList.constBegin(); it != end; ++it) {
                 const QFileInfo fi((*it).first);
                 str << "<li><p><a href=\"gh-project:" << (*it).first << "\" title=\""
-                    << fi.absolutePath() << "\">" << (*it).second << "</a></p></li>\n";
+                    << QDir::toNativeSeparators(fi.absolutePath()) << "\">" << (*it).second << "</a></p></li>\n";
             }
             projectHtml.replace(QLatin1String("<!-- RECENT PROJECTS LIST -->"), projects);
         }
-- 
GitLab