Commit 3f26d384 authored by jpd's avatar jpd
Browse files

Qt: selector: correct expand-arrow position

parent 9e48c559
......@@ -469,7 +469,8 @@ void PLSelector::drawBranches ( QPainter * painter, const QRect & rect, const QM
if( !model()->hasChildren( index ) ) return;
QStyleOption option;
option.initFrom( this );
option.rect = rect;
option.rect = rect.adjusted( rect.width() - indentation(), 0, 0, 0 );
/*option.state = QStyle::State_Children;
if( isExpanded( index ) ) option.state |= QStyle::State_Open;*/
style()->drawPrimitive( isExpanded( index ) ?
......
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