mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
didn't mean to commit that change, doing a partial update of the playlist delegate isn't great
This commit is contained in:
@@ -246,8 +246,7 @@ PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
{
|
||||
descText = index.data( WelcomePlaylistModel::ArtistRole ).toString();
|
||||
}
|
||||
painter->setFont( italicFont );
|
||||
painter->drawText( option.rect.adjusted( 66, 26, -100, -8 ), descText );
|
||||
painter->drawText( option.rect.adjusted( 56, 26, -100, -8 ), descText );
|
||||
|
||||
QString trackCount = tr( "%1 tracks" ).arg( index.data( WelcomePlaylistModel::TrackCountRole ).toString() );
|
||||
painter->drawText( option.rect.adjusted( option.rect.width() - 96, 12, 0, -2 - opt.rect.height() / 2 ), trackCount, to );
|
||||
|
Reference in New Issue
Block a user