From d54df03794e1d3104eced3f73808b670e12b8a39 Mon Sep 17 00:00:00 2001 From: Alessandro Portale 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 #include +#include #include #include #include @@ -239,7 +240,7 @@ void WelcomeMode::updateWelcomePage(const WelcomePageData &welcomePageData) for( it = welcomePageData.projectList.constBegin(); it != end; ++it) { const QFileInfo fi((*it).first); str << "
  • " << (*it).second << "

  • \n"; + << QDir::toNativeSeparators(fi.absolutePath()) << "\">" << (*it).second << "

    \n"; } projectHtml.replace(QLatin1String(""), projects); }