forked from Shinonome/dots-hyprland
remove manual file:// construction
This commit is contained in:
@@ -29,7 +29,7 @@ Singleton {
|
|||||||
|
|
||||||
// Public API (FolderListModel driven)
|
// Public API (FolderListModel driven)
|
||||||
function reload() {
|
function reload() {
|
||||||
files.folder = `file://${root.searchDirs[0]}`
|
files.folder = Qt.resolvedUrl(root.searchDirs[0])
|
||||||
}
|
}
|
||||||
onSearchDirsChanged: reload()
|
onSearchDirsChanged: reload()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user