mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* WelcomeWidget uses new AlbumView/AlbumModel API.
This commit is contained in:
parent
790120836d
commit
1c4fabed2b
@ -73,7 +73,7 @@ WelcomeWidget::WelcomeWidget( QWidget* parent )
|
||||
ui->tracksView->setPlaylistModel( m_tracksModel );
|
||||
|
||||
m_recentAlbumsModel = new AlbumModel( ui->additionsView );
|
||||
ui->additionsView->setAlbumModel( m_recentAlbumsModel );
|
||||
ui->additionsView->setPlayableModel( m_recentAlbumsModel );
|
||||
ui->additionsView->proxyModel()->sort( -1 );
|
||||
|
||||
connect( SourceList::instance(), SIGNAL( ready() ), SLOT( onSourcesReady() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user