1
0
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:
Christian Muehlhaeuser 2012-12-20 08:18:13 +01:00
parent 15f65920bf
commit 4fdf2f1c43

View File

@ -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;