]> cloud.milkyroute.net Git - dolphin.git/commitdiff
QUrl porting bug: Added a missing QUrl::fromLocalFile in FoldersPanel::loadTree to...
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 18 Feb 2015 16:12:10 +0000 (17:12 +0100)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Thu, 19 Feb 2015 11:08:07 +0000 (12:08 +0100)
REVIEW: 122631
BUG: 344204
FIXED-IN: 15.04

src/panels/folders/folderspanel.cpp

index b83e950e5c2020ef2f9a804b9a68a850034c1828..9169ee9e35daade24468562b96465157e153d97a 100644 (file)
@@ -305,7 +305,7 @@ void FoldersPanel::loadTree(const QUrl& url)
     QUrl baseUrl;
     if (url.isLocalFile()) {
         // Use the root directory as base for local URLs (#150941)
-        baseUrl = QDir::rootPath();
+        baseUrl = QUrl::fromLocalFile(QDir::rootPath());
     } else {
         // Clear the path for non-local URLs and use it as base
         baseUrl = url;