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

* Fixed TWK-699: Don't paint now playing icon over item decoration.

This commit is contained in:
Christian Muehlhaeuser 2012-03-02 02:21:08 +01:00
parent c77be81e5b
commit b07f498516

View File

@ -515,6 +515,9 @@ SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co
else
{
o.state &= ~QStyle::State_MouseOver;
if ( !index.parent().parent().isValid() )
o.rect.adjust( 7, 0, 0, 0 );
QStyledItemDelegate::paint( painter, o, index );
if ( type == SourcesModel::TemporaryPage )