1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Hide dupe albums on album page.

This commit is contained in:
Christian Muehlhaeuser 2012-06-16 09:02:03 +02:00
parent 8a3c962779
commit d1c41f4ad0

View File

@ -50,6 +50,7 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par
m_albumsModel = new PlayableModel( ui->albumsView );
ui->albumsView->setPlayableModel( m_albumsModel );
ui->albumsView->setEmptyTip( tr( "Sorry, we could not find any other albums for this artist!" ) );
ui->albumsView->proxyModel()->setHideDupeItems( true );
m_tracksModel = new TreeModel( ui->tracksView );
m_tracksModel->setMode( Mixed );