mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Always initialize the style option, so we set the right selection state.
This commit is contained in:
parent
8c4f6d7917
commit
8c06c3ab6a
@ -122,11 +122,9 @@ PlaylistLargeItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem&
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
prepareStyleOption( &opt, index, item );
|
||||
prepareStyleOption( &opt, index, item );
|
||||
|
||||
opt.text.clear();
|
||||
|
||||
qApp->style()->drawControl( QStyle::CE_ItemViewItem, &opt, painter );
|
||||
|
||||
if ( m_view->header()->visualIndex( index.column() ) > 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user