mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-22 08:52:12 +02:00
* Rounded cover in AudioControls.
This commit is contained in:
parent
a47c164fc9
commit
356f0bff67
@ -301,7 +301,7 @@ AudioControls::setCover()
|
||||
{
|
||||
QPixmap cover;
|
||||
cover = m_currentTrack->toQuery()->cover( ui->coverImage->size() );
|
||||
ui->coverImage->setPixmap( cover, false );
|
||||
ui->coverImage->setPixmap( TomahawkUtils::createRoundedImage( cover, QSize( 0, 0 ) ), false );
|
||||
}
|
||||
else
|
||||
ui->coverImage->setPixmap( TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultAlbumCover, TomahawkUtils::ScaledCover, ui->coverImage->size() ), true );
|
||||
|
Loading…
x
Reference in New Issue
Block a user