From 27d0b3d993ed5f91aeab317df7539b50dd3634b7 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 10 Jan 2026 17:29:29 -0500 Subject: remove more things again lol --- components/images/CachingIconImage.qml | 42 ---------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 components/images/CachingIconImage.qml (limited to 'components/images/CachingIconImage.qml') diff --git a/components/images/CachingIconImage.qml b/components/images/CachingIconImage.qml deleted file mode 100644 index 1acc6a1..0000000 --- a/components/images/CachingIconImage.qml +++ /dev/null @@ -1,42 +0,0 @@ -pragma ComponentBehavior: Bound - -import qs.utils -import Quickshell.Widgets -import QtQuick - -Item { - id: root - - readonly property int status: loader.item?.status ?? Image.Null - readonly property real actualSize: Math.min(width, height) - property real implicitSize - property url source - - implicitWidth: implicitSize - implicitHeight: implicitSize - - Loader { - id: loader - - anchors.fill: parent - sourceComponent: root.source ? root.source.toString().startsWith("image://icon/") ? iconImage : cachingImage : null - } - - Component { - id: cachingImage - - CachingImage { - path: Paths.toLocalFile(root.source) - fillMode: Image.PreserveAspectFit - } - } - - Component { - id: iconImage - - IconImage { - source: root.source - asynchronous: true - } - } -} -- cgit v1.2.3-freya