1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 19:14:06 +02:00

* If no source avatar is avail, return big tinted default collection image for collection's bigIcon.

This commit is contained in:
Christian Muehlhaeuser
2014-09-02 05:56:41 +02:00
parent 1af04681cf
commit 660c0120ca

View File

@@ -93,7 +93,8 @@ Collection::bigIcon() const
{
if ( !source()->avatar().isNull() )
return source()->avatar( TomahawkUtils::RoundedCorners );
return TomahawkUtils::defaultPixmap( TomahawkUtils::SuperCollection );
return TomahawkUtils::tinted( TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultCollection ), Qt::white );
}