diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-02-18 17:12:10 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-02-19 12:08:07 +0100 |
| commit | 9221362ceaf695b02b316f88cbf27e1ba96c89db (patch) | |
| tree | 87563d81bb8968fc8bac17d44425de2485056ac8 /src | |
| parent | 23e899577187a188e78f748a1a55883888be45db (diff) | |
QUrl porting bug: Added a missing QUrl::fromLocalFile in FoldersPanel::loadTree to make the FoldersPanel work again
REVIEW: 122631
BUG: 344204
FIXED-IN: 15.04
Diffstat (limited to 'src')
| -rw-r--r-- | src/panels/folders/folderspanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp index b83e950e5..9169ee9e3 100644 --- a/src/panels/folders/folderspanel.cpp +++ b/src/panels/folders/folderspanel.cpp @@ -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; |
