mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-19 04:11:46 +02:00
* Don't even attempt to draw hidden rows in sidebar.
This commit is contained in:
@@ -443,6 +443,9 @@ SourceDelegate::paintGroup( QPainter* painter, const QStyleOptionViewItem& optio
|
||||
void
|
||||
SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const
|
||||
{
|
||||
if ( option.rect.height() == 0 )
|
||||
return;
|
||||
|
||||
QStyleOptionViewItemV4 optIndentation = option;
|
||||
QStyleOptionViewItemV4 opt = option;
|
||||
|
||||
|
Reference in New Issue
Block a user