Commit 5a9b22b2 authored by David Redondo's avatar David Redondo 🏎
Browse files

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.
parent 35a58393
......@@ -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
Supports Markdown
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