mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
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
This commit is contained in:
parent
23e8995771
commit
9221362cea
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue