mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* No need to specify manual radius anymore.
This commit is contained in:
@@ -230,7 +230,7 @@ AlbumInfoWidget::onAlbumImageUpdated()
|
||||
m_pixmap = m_album->cover( QSize( 0, 0 ) );
|
||||
emit pixmapChanged( m_pixmap );
|
||||
|
||||
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_album->cover( ui->cover->sizeHint() ), QSize( 0, 0 ), 0.05 ) );
|
||||
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_album->cover( ui->cover->sizeHint() ), QSize( 0, 0 ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
@@ -304,7 +304,7 @@ ArtistInfoWidget::onArtistImageUpdated()
|
||||
m_pixmap = m_artist->cover( QSize( 0, 0 ) );
|
||||
emit pixmapChanged( m_pixmap );
|
||||
|
||||
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_artist->cover( ui->cover->sizeHint() ), QSize( 0, 0 ), 0.05 ) );
|
||||
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_artist->cover( ui->cover->sizeHint() ), QSize( 0, 0 ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
@@ -217,7 +217,7 @@ TrackInfoWidget::onCoverUpdated()
|
||||
return;
|
||||
|
||||
m_pixmap = m_query->cover( ui->cover->size() );
|
||||
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_pixmap, QSize( 0, 0 ), 0.05 ) );
|
||||
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_pixmap, QSize( 0, 0 ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user