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

* Rounded corners for images on Artist, Album & Track page.

This commit is contained in:
Christian Muehlhaeuser 2012-11-15 07:05:45 +01:00
parent 84b963a489
commit a9af4be463
3 changed files with 3 additions and 3 deletions

@ -230,7 +230,7 @@ AlbumInfoWidget::onAlbumImageUpdated()
m_pixmap = m_album->cover( QSize( 0, 0 ) );
emit pixmapChanged( m_pixmap );
ui->cover->setPixmap( m_album->cover( ui->cover->sizeHint() ) );
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_album->cover( ui->cover->sizeHint() ), QSize( 0, 0 ), 0.05 ) );
}

@ -304,7 +304,7 @@ ArtistInfoWidget::onArtistImageUpdated()
m_pixmap = m_artist->cover( QSize( 0, 0 ) );
emit pixmapChanged( m_pixmap );
ui->cover->setPixmap( m_artist->cover( ui->cover->sizeHint() ) );
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_artist->cover( ui->cover->sizeHint() ), QSize( 0, 0 ), 0.05 ) );
}

@ -217,7 +217,7 @@ TrackInfoWidget::onCoverUpdated()
return;
m_pixmap = m_query->cover( ui->cover->size() );
ui->cover->setPixmap( m_pixmap );
ui->cover->setPixmap( TomahawkUtils::createRoundedImage( m_pixmap, QSize( 0, 0 ), 0.05 ) );
}