Commit 2da94367 authored by David Redondo's avatar David Redondo 🏎

Use plasma theme icons in kickoff leave view

These are not applications icons where we want to avoid using the plasma theme
icon overrides. Rather they represent actions that are part of the desktop
shell and should use plasma icons instead like tab icons below.
CCBUG:429280


(cherry picked from commit 5a9b22b2)
parent 9a4f31e7
......@@ -51,6 +51,7 @@ Item {
property bool hasActionList: ((model.favoriteId !== null)
|| (("hasActionList" in model) && (model.hasActionList === true)))
property Item menu: actionMenu
property alias usePlasmaIcon: elementIcon.usesPlasmaTheme
onAboutToShowActionMenu: {
var actionList = hasActionList ? model.actionList : [];
......
......@@ -23,8 +23,10 @@ import org.kde.plasma.private.kicker 0.1 as Kicker
BaseView {
objectName: "LeaveView"
model: Kicker.SystemModel {
favoritesModel: globalFavorites
}
delegate: KickoffItem {
usePlasmaIcon: true
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment