summaryrefslogtreecommitdiff
path: root/components/images
diff options
context:
space:
mode:
Diffstat (limited to 'components/images')
-rw-r--r--components/images/CachingIconImage.qml2
-rw-r--r--components/images/CachingImage.qml2
2 files changed, 2 insertions, 2 deletions
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)
}
}