mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Support rounded default track images.
This commit is contained in:
@@ -439,6 +439,8 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
|
||||
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 );
|
||||
else
|
||||
pixmap = ImageRegistry::instance()->pixmap( RESPATH "images/track-icon.svg", size );
|
||||
break;
|
||||
|
Reference in New Issue
Block a user