mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
* Support rounded default track images.
This commit is contained in:
parent
15f65920bf
commit
4fdf2f1c43
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user