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:
parent
8375d4e022
commit
1af04681cf
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user