1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

* Fix ASSERT in full debug.

This commit is contained in:
Christian Muehlhaeuser 2010-10-27 15:41:08 +02:00
parent 6697814d02
commit c1ae02f459

View File

@ -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 );
}