And selectionModel() better exist...
This commit is contained in:
parent
584ca6da18
commit
2f35aa1258
@ -156,6 +156,7 @@ PartitionBarsView::drawSection( QPainter* painter, const QRect& rect_, int x, in
|
||||
painter->drawRoundedRect( rect, radius, radius );
|
||||
|
||||
if ( index.isValid() &&
|
||||
selectionModel() &&
|
||||
!selectionModel()->selectedIndexes().isEmpty() &&
|
||||
selectionModel()->selectedIndexes().first() == index )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user