Replaced Image {} per IconImage {} where applicable

This commit is contained in:
Sébastien Atoch 2025-08-03 08:49:03 -04:00
parent e2d02afc9a
commit 2f14dba144
13 changed files with 69 additions and 127 deletions

View file

@ -3,6 +3,7 @@ import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Quickshell
import Quickshell.Widgets
import qs.Settings
PopupWindow {
@ -112,14 +113,12 @@ PopupWindow {
elide: Text.ElideRight
}
Image {
IconImage {
Layout.preferredWidth: 16
Layout.preferredHeight: 16
smooth: true
mipmap: true
source: modelData?.icon ?? ""
visible: (modelData?.icon ?? "") !== ""
fillMode: Image.PreserveAspectFit
backer.fillMode: Image.PreserveAspectFit
}
}