summaryrefslogtreecommitdiff
path: root/components/images
diff options
context:
space:
mode:
Diffstat (limited to 'components/images')
-rw-r--r--components/images/CachingImage.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/images/CachingImage.qml b/components/images/CachingImage.qml
index 75c9126..add459a 100644
--- a/components/images/CachingImage.qml
+++ b/components/images/CachingImage.qml
@@ -30,10 +30,8 @@ Image {
onStatusChanged: {
if (source == cachePath && status === Image.Error)
source = path;
- else if (source == path && status === Image.Ready) {
- Paths.mkdir(Paths.imagecache);
+ else if (source == path && status === Image.Ready)
CUtils.saveItem(this, cachePath);
- }
}
Process {