From 1de24676bb80ce633a026f336242d486b40dd3c8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 3 Sep 2025 18:55:05 +1000 Subject: internal: refactor Paths util --- components/images/CachingIconImage.qml | 2 +- components/images/CachingImage.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'components/images') 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) } } -- cgit v1.2.3-freya