mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
* Use track-placeholder.png in the PlaylistItemDelegate.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<file>data/images/not-loved.png</file>
|
||||
<file>data/images/no-album-art-placeholder.png</file>
|
||||
<file>data/images/no-artist-image-placeholder.png</file>
|
||||
<file>data/images/track-placeholder.png</file>
|
||||
<file>data/images/now-playing-panel.png</file>
|
||||
<file>data/images/now-playing-speaker.png</file>
|
||||
<file>data/images/pause-pressed.png</file>
|
||||
|
@@ -184,13 +184,11 @@ PlaylistItemDelegate::paintShort( QPainter* painter, const QStyleOptionViewItem&
|
||||
else
|
||||
lowerText = QString( "played %1 ago by %2" ).arg( playtime ).arg( source->friendlyName() );
|
||||
|
||||
pixmap = source->avatar();
|
||||
// pixmap = source->avatar();
|
||||
}
|
||||
|
||||
if ( pixmap.isNull() )
|
||||
pixmap = QPixmap( RESPATH "images/user-avatar.png" );
|
||||
|
||||
pixmap = TomahawkUtils::createAvatarFrame( pixmap );
|
||||
pixmap = QPixmap( RESPATH "images/track-placeholder.png" );
|
||||
|
||||
painter->save();
|
||||
{
|
||||
|
Reference in New Issue
Block a user