┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/treeviewsidebarpage.cpp2
1 files changed, 1 insertions, 1 deletions
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;