1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 11:30:49 +02:00

Change default placeholder icons used in charts and drag and drop

This commit is contained in:
Jason Herskowitz
2014-09-04 11:46:28 -04:00
parent 4ca90d7691
commit 618035bb9f

View File

@@ -453,16 +453,16 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
if ( mode == Grid )
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/artist-placeholder-grid.svg", size );
else
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/artist-icon.svg", size );
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/artist-placeholder-grid.svg", size );
break;
case DefaultTrackImage:
if ( mode == Grid )
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/track-placeholder-grid.svg", size );
else if ( mode == RoundedCorners )
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/track-icon.svg", size, TomahawkUtils::RoundedCorners );
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/track-placeholder-grid.svg", size, TomahawkUtils::RoundedCorners );
else
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/track-icon.svg", size );
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/track-placeholder-grid.svg", size );
break;
case DefaultSourceAvatar: