added mipmap option to launcher
This commit is contained in:
@@ -86,4 +86,5 @@ QtObject {
|
|||||||
property string launcherCacheDir: "/tmp/qs_launcher"
|
property string launcherCacheDir: "/tmp/qs_launcher"
|
||||||
property bool launcherCloseOnClickOutside: true
|
property bool launcherCloseOnClickOutside: true
|
||||||
property bool launcherSelectFirst: false
|
property bool launcherSelectFirst: false
|
||||||
|
property bool launcherMipmapIcons: false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -376,8 +376,10 @@ PanelWindow {
|
|||||||
id: appIcon
|
id: appIcon
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: modelData.icon ? "image://icon/" + modelData.icon : ""
|
source: modelData.icon ? "image://icon/" + modelData.icon : ""
|
||||||
|
sourceSize: Qt.size(64, 64)
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
smooth: true
|
smooth: true
|
||||||
|
mipmap: Cfg.Config.launcherMipmapIcons
|
||||||
visible: status === Image.Ready
|
visible: status === Image.Ready
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user