mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +02:00
* Fix ASSERT in full debug.
This commit is contained in:
@@ -373,6 +373,6 @@ SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co
|
||||
o.state = QStyle::State_Enabled;
|
||||
}
|
||||
|
||||
QStyledItemDelegate::paint( painter, option, QModelIndex() );
|
||||
QStyledItemDelegate::paint( painter, option, index.model()->index( 0, 0 ) );
|
||||
QStyledItemDelegate::paint( painter, o, index );
|
||||
}
|
||||
|
Reference in New Issue
Block a user