From: Peter Penz Date: Thu, 20 Mar 2008 21:37:15 +0000 (+0000) Subject: use QDir::rootPath() to make the folders panel functional on Windows X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0d9e87975ee4ccc6e6295bf7d571baa30348e6d8 use QDir::rootPath() to make the folders panel functional on Windows svn path=/trunk/KDE/kdebase/apps/; revision=788155 --- diff --git a/src/treeviewsidebarpage.cpp b/src/treeviewsidebarpage.cpp index 930c380d9..d84b72ae2 100644 --- a/src/treeviewsidebarpage.cpp +++ b/src/treeviewsidebarpage.cpp @@ -233,7 +233,7 @@ void TreeViewSidebarPage::loadTree(const KUrl& url) KUrl baseUrl = url; if (url.isLocalFile()) { // use the root directory as base for local URLs - baseUrl = KUrl("file:///"); + baseUrl = QDir::rootPath(); } else { // clear the path for non-local URLs and use it as base baseUrl = url;