added mipmap option to launcher
This commit is contained in:
@@ -86,4 +86,5 @@ QtObject {
|
||||
property string launcherCacheDir: "/tmp/qs_launcher"
|
||||
property bool launcherCloseOnClickOutside: true
|
||||
property bool launcherSelectFirst: false
|
||||
property bool launcherMipmapIcons: false
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user