mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
use QDir::rootPath() to make the folders panel functional on Windows
svn path=/trunk/KDE/kdebase/apps/; revision=788155
This commit is contained in:
parent
c50a1e000f
commit
0d9e87975e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue