diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/filedialog/FolderContents.qml | 2 | ||||
| -rw-r--r-- | components/images/CachingIconImage.qml | 2 | ||||
| -rw-r--r-- | components/images/CachingImage.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml index 7765a6a..3efa697 100644 --- a/components/filedialog/FolderContents.qml +++ b/components/filedialog/FolderContents.qml @@ -97,7 +97,7 @@ Item { model: FileSystemModel { path: { if (root.dialog.cwd[0] === "Home") - return `${Paths.strip(Paths.home)}/${root.dialog.cwd.slice(1).join("/")}`; + return `${Paths.home}/${root.dialog.cwd.slice(1).join("/")}`; else return root.dialog.cwd.join("/"); } diff --git a/components/images/CachingIconImage.qml b/components/images/CachingIconImage.qml index 715d379..1acc6a1 100644 --- a/components/images/CachingIconImage.qml +++ b/components/images/CachingIconImage.qml @@ -26,7 +26,7 @@ Item { id: cachingImage CachingImage { - path: Paths.strip(root.source) + path: Paths.toLocalFile(root.source) fillMode: Image.PreserveAspectFit } } diff --git a/components/images/CachingImage.qml b/components/images/CachingImage.qml index a8916ae..3511345 100644 --- a/components/images/CachingImage.qml +++ b/components/images/CachingImage.qml @@ -23,6 +23,6 @@ Image { id: manager item: root - cacheDir: Paths.imagecache + cacheDir: Qt.resolvedUrl(Paths.imagecache) } } |