1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-19 15:31:59 +02:00

* Fixed emptiness tooltips on Artist page.

This commit is contained in:
Christian Muehlhaeuser 2012-11-14 10:18:30 +01:00
parent 6e52b6d42e
commit 74b1da55c8

View File

@ -66,12 +66,12 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
m_albumsModel = new PlayableModel( ui->albums );
ui->albums->setPlayableModel( m_albumsModel );
ui->topHits->setEmptyTip( tr( "Sorry, we could not find any albums for this artist!" ) );
ui->albums->setEmptyTip( tr( "Sorry, we could not find any albums for this artist!" ) );
m_relatedModel = new PlayableModel( ui->relatedArtists );
ui->relatedArtists->setPlayableModel( m_relatedModel );
ui->relatedArtists->proxyModel()->sort( -1 );
ui->topHits->setEmptyTip( tr( "Sorry, we could not find any related artists!" ) );
ui->relatedArtists->setEmptyTip( tr( "Sorry, we could not find any related artists!" ) );
m_topHitsModel = new PlaylistModel( ui->topHits );
ui->topHits->proxyModel()->setStyle( PlayableProxyModel::Short );