summaryrefslogtreecommitdiff
path: root/widgets/CachingImage.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-04 16:17:10 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-04 16:17:10 +1000
commit0505ba8f92545107ecd45d6f3cd8d5cea5d3fd2b (patch)
tree1abebc7ccc3302969a609caaab6171fdc126a2b3 /widgets/CachingImage.qml
parentgeneral: better multieffect mask settings (diff)
downloadcaelestia-shell-0505ba8f92545107ecd45d6f3cd8d5cea5d3fd2b.tar.gz
caelestia-shell-0505ba8f92545107ecd45d6f3cd8d5cea5d3fd2b.tar.bz2
caelestia-shell-0505ba8f92545107ecd45d6f3cd8d5cea5d3fd2b.zip
launcher: anim wallpaperitem creation
Also fix cachingimage
Diffstat (limited to 'widgets/CachingImage.qml')
-rw-r--r--widgets/CachingImage.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/CachingImage.qml b/widgets/CachingImage.qml
index cff5676..692a090 100644
--- a/widgets/CachingImage.qml
+++ b/widgets/CachingImage.qml
@@ -8,7 +8,12 @@ Image {
required property string path
property string thumbnail: path
- source: `file://${thumbnail}`
+ source: {
+ if (thumbnail)
+ return `file://${thumbnail}`;
+ shaProc.running = true;
+ return "";
+ }
asynchronous: true
fillMode: Image.PreserveAspectCrop