diff options
Diffstat (limited to 'components/images/CachingImage.qml')
| -rw-r--r-- | components/images/CachingImage.qml | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/components/images/CachingImage.qml b/components/images/CachingImage.qml deleted file mode 100644 index e8f957a..0000000 --- a/components/images/CachingImage.qml +++ /dev/null @@ -1,28 +0,0 @@ -import qs.utils -import Caelestia.Internal -import Quickshell -import QtQuick - -Image { - id: root - - property alias path: manager.path - - asynchronous: true - fillMode: Image.PreserveAspectCrop - - Connections { - target: QsWindow.window - - function onDevicePixelRatioChanged(): void { - manager.updateSource(); - } - } - - CachingImageManager { - id: manager - - item: root - cacheDir: Qt.resolvedUrl(Paths.imagecache) - } -} |