From 4fdf2f1c43e2194e0c89bfc363ab3c34754c1cf6 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 20 Dec 2012 08:18:13 +0100 Subject: [PATCH] * Support rounded default track images. --- src/libtomahawk/utils/TomahawkUtilsGui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/utils/TomahawkUtilsGui.cpp b/src/libtomahawk/utils/TomahawkUtilsGui.cpp index 9137949d9..0c0917936 100644 --- a/src/libtomahawk/utils/TomahawkUtilsGui.cpp +++ b/src/libtomahawk/utils/TomahawkUtilsGui.cpp @@ -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;