1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

Try a drop shadow for the source icon in AudioControls as well

This commit is contained in:
Leo Franchi
2012-09-27 23:06:46 -04:00
parent 3dcc1cf286
commit e1441ae497

View File

@@ -264,7 +264,7 @@ AudioControls::onPlaybackLoading( const Tomahawk::result_ptr& result )
ui->loveButton->setToolTip( tr( "Love" ) ); ui->loveButton->setToolTip( tr( "Love" ) );
ui->ownerButton->setToolTip( QString( tr( "Playing from %1" ) ).arg( result->friendlySource() ) ); ui->ownerButton->setToolTip( QString( tr( "Playing from %1" ) ).arg( result->friendlySource() ) );
QPixmap sourceIcon = result->sourceIcon( ui->ownerButton->size() ); QPixmap sourceIcon = result->sourceIcon( Result::DropShadow, ui->ownerButton->size() );
if ( !sourceIcon.isNull() ) if ( !sourceIcon.isNull() )
ui->ownerButton->setPixmap( sourceIcon ); ui->ownerButton->setPixmap( sourceIcon );
else else