diff options
Diffstat (limited to 'widgets/CachingImage.qml')
| -rw-r--r-- | widgets/CachingImage.qml | 7 |
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 |