mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* SourceInfoWidget uses new AlbumView/AlbumModel API.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user