mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 13:17:34 +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;
|
o.state = QStyle::State_Enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
QStyledItemDelegate::paint( painter, option, QModelIndex() );
|
QStyledItemDelegate::paint( painter, option, index.model()->index( 0, 0 ) );
|
||||||
QStyledItemDelegate::paint( painter, o, index );
|
QStyledItemDelegate::paint( painter, o, index );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user