Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 89b91603 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Don't draw focus line on selected list item

A fix I did for the focus line being drawn outside item boundaries resulted
in the item selection rectangle being "cut off" by the focus line.
The selection rectangle is enough of an indication anyway.

Differential Revision:
parent af04e80c
......@@ -3077,6 +3077,11 @@ namespace Breeze
const State& state( option->state );
// no focus indicator on selected list items
if (widget && widget->inherits("QAbstractItemView") && (state & State_Selected))
{ return true; }
const QRect rect( option->rect.adjusted( 0, 0, 0, 1 ) );
const QPalette& palette( option->palette );
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