1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 00:12:06 +02:00

* Tint header images.

This commit is contained in:
Christian Muehlhaeuser 2014-09-02 05:29:58 +02:00
parent 8375d4e022
commit 1af04681cf

View File

@ -102,7 +102,7 @@ void
BasicHeader::setPixmap( const QPixmap& p )
{
ui->iconLabel->setFixedHeight( 20 );
ui->iconLabel->setPixmap( p.scaledToHeight( ui->iconLabel->height(), Qt::SmoothTransformation ) );
ui->iconLabel->setPixmap( TomahawkUtils::tinted( p, Qt::white ).scaledToHeight( ui->iconLabel->height(), Qt::SmoothTransformation ) );
if ( !p.isNull() )
ui->iconLabel->show();