summaryrefslogtreecommitdiff
path: root/components/images
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 17:17:07 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 17:17:07 +1000
commit800b5e6515b2d68e589bf2307cd78ce8e059fcba (patch)
tree54a0ae79460a440b93d8bd21e0ec6793cc6d2e2a /components/images
parentpicker: better client detection (diff)
downloadcaelestia-shell-800b5e6515b2d68e589bf2307cd78ce8e059fcba.tar.gz
caelestia-shell-800b5e6515b2d68e589bf2307cd78ce8e059fcba.tar.bz2
caelestia-shell-800b5e6515b2d68e589bf2307cd78ce8e059fcba.zip
plugin: saveItem ensure parent dir
Also const everything and format
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 {