diff --git a/applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml b/applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml --- a/applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml +++ b/applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml @@ -43,16 +43,13 @@ } } - onStatusChanged: { - //binding is not working in PlasmaCore.IconItem - iconItem.source = status === PlasmaCore.Types.NeedsAttentionStatus ? (AttentionIcon ? AttentionIcon : AttentionIconName) : (Icon ? Icon : IconName) - } - iconItem: iconItem PlasmaCore.IconItem { id: iconItem - source: Icon ? Icon : IconName + source: taskIcon.status === PlasmaCore.Types.NeedsAttentionStatus + ? (AttentionIcon ? AttentionIcon : AttentionIconName) + : (Icon ? Icon : IconName) width: Math.min(parent.width, parent.height) height: width active: taskIcon.containsMouse