summaryrefslogtreecommitdiff
path: root/widgets/CachingImage.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 22:28:10 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 22:28:10 +1000
commit89c7739fdbcea2e8918b30ca236d7e09beee1bc3 (patch)
treef8dcca2fc422795d0032102f672e720d01031016 /widgets/CachingImage.qml
parentinternal: fix typo (diff)
downloadcaelestia-shell-89c7739fdbcea2e8918b30ca236d7e09beee1bc3.tar.gz
caelestia-shell-89c7739fdbcea2e8918b30ca236d7e09beee1bc3.tar.bz2
caelestia-shell-89c7739fdbcea2e8918b30ca236d7e09beee1bc3.zip
filedialog: cache thumbnails
Much faster loading
Diffstat (limited to 'widgets/CachingImage.qml')
-rw-r--r--widgets/CachingImage.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/widgets/CachingImage.qml b/widgets/CachingImage.qml
index c58ff51..1d42238 100644
--- a/widgets/CachingImage.qml
+++ b/widgets/CachingImage.qml
@@ -1,4 +1,3 @@
-import qs.services
import qs.utils
import Quickshell.Io
import QtQuick
@@ -11,7 +10,6 @@ Image {
readonly property string cachePath: `${Paths.stringify(Paths.imagecache)}/${hash}@${width}x${height}.png`
asynchronous: true
- cache: false
fillMode: Image.PreserveAspectCrop
sourceSize.width: width
sourceSize.height: height