From 06fa96b897ca6f09b4651814f289d63974dbda80 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 10 Sep 2013 01:26:31 +0200 Subject: [PATCH] * Retrieve a name-filtered list of sources in drawLoveBox. --- src/libtomahawk/playlist/PlaylistItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp index dc7b079ae..b3a12aa07 100644 --- a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp +++ b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp @@ -338,7 +338,7 @@ PlaylistItemDelegate::drawLoveBox( QPainter* painter, const QRect& rect, Playabl const int width = 2 + rect.height() - 4 * 2; QList< QPixmap > pixmaps; - foreach ( const Tomahawk::source_ptr& source, item->query()->queryTrack()->sourcesWithSocialAction( "Love", true ) ) + foreach ( const Tomahawk::source_ptr& source, item->query()->queryTrack()->sourcesWithSocialAction( "Love", true, true ) ) pixmaps << source->avatar( TomahawkUtils::Original, QSize( height, height ) ); const int max = 5; const unsigned int count = qMin( pixmaps.count(), max );