mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* SourceInfoWidget uses new AlbumView/AlbumModel API.
This commit is contained in:
parent
98de149eec
commit
2a4f2d3802
@ -63,7 +63,7 @@ SourceInfoWidget::SourceInfoWidget( const Tomahawk::source_ptr& source, QWidget*
|
||||
ui->historyView->setPlaylistModel( m_historyModel );
|
||||
|
||||
m_recentAlbumModel = new AlbumModel( ui->recentAlbumView );
|
||||
ui->recentAlbumView->setAlbumModel( m_recentAlbumModel );
|
||||
ui->recentAlbumView->setPlayableModel( m_recentAlbumModel );
|
||||
ui->recentAlbumView->proxyModel()->sort( -1 );
|
||||
|
||||
onCollectionChanged();
|
||||
|
Loading…
x
Reference in New Issue
Block a user