mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-29 20:49:52 +01:00
Change default placeholder icons used in charts and drag and drop
This commit is contained in:
parent
4ca90d7691
commit
618035bb9f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user