added mipmap option to launcher

This commit is contained in:
SomeElse
2026-04-27 07:55:35 +00:00
parent ee7bc373bb
commit c753af02ba
2 changed files with 3 additions and 0 deletions

View File

@@ -86,4 +86,5 @@ QtObject {
property string launcherCacheDir: "/tmp/qs_launcher"
property bool launcherCloseOnClickOutside: true
property bool launcherSelectFirst: false
property bool launcherMipmapIcons: false
}

View File

@@ -376,8 +376,10 @@ PanelWindow {
id: appIcon
anchors.fill: parent
source: modelData.icon ? "image://icon/" + modelData.icon : ""
sourceSize: Qt.size(64, 64)
fillMode: Image.PreserveAspectFit
smooth: true
mipmap: Cfg.Config.launcherMipmapIcons
visible: status === Image.Ready
}