mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Hide dupe albums on album page.
This commit is contained in:
@@ -50,6 +50,7 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par
|
|||||||
m_albumsModel = new PlayableModel( ui->albumsView );
|
m_albumsModel = new PlayableModel( ui->albumsView );
|
||||||
ui->albumsView->setPlayableModel( m_albumsModel );
|
ui->albumsView->setPlayableModel( m_albumsModel );
|
||||||
ui->albumsView->setEmptyTip( tr( "Sorry, we could not find any other albums for this artist!" ) );
|
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 = new TreeModel( ui->tracksView );
|
||||||
m_tracksModel->setMode( Mixed );
|
m_tracksModel->setMode( Mixed );
|
||||||
|
Reference in New Issue
Block a user