Skip to content
Commit ab3d40f6 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

GridDelegate: Fix ring color for disabled items

Stop showing a coloured ring for the hovered items when
they are disabled.

The current selected item still shows a ring becase, but just
with the regular highlight color, because the neutral highlight
doesn't get get desaturated when hovered.

While at it, simplify the cascading conditions logic and use
the newer `Qt.alpha()` function.
parent 9b5df87d
Pipeline #458111 passed with stage
in 2 minutes and 13 seconds
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