QTreeView remove dotted line when selected
Solved
General and Desktop
-
Hi
It can be removed with (maybe) stylesheet or delegateSee SeitsemaN post how the delegate could look.
-
You have to clear State_HasFocus somehow. The easiest way I see is to create a proxy style which removes this flag before passing it to drawControl.
-
Thanks @SeitsemaN for this solution,
*{outline: none;}This works well. I wasted like 8hrs on this.