Commit 7ad4b59b authored by Konrad Materka's avatar Konrad Materka
Browse files

Correctly highlight the icon in the system tray

Icon is highlighted when CapsLock or NumLock are locked. It should not
be used this way, icon should be highlithed on mouse hover, as any other
icon in system tray.

CCBUG: 400295

Test Plan: Hover mouse over the icon - highlight only when mouse is over the icon. It should not highlight when CapsLock or NumLock are used.

Reviewers: #plasma, davidedmundson, apol, ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 5b8627e6
......@@ -70,7 +70,7 @@ Item {
Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
Plasmoid.compactRepresentation: PlasmaCore.IconItem {
source: plasmoid.icon
active: lockedCount>0
active: compactMouse.containsMouse
MouseArea {
id: compactMouse
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