1
0
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:
Christian Muehlhaeuser 2012-05-31 23:12:23 +02:00
parent 98de149eec
commit 2a4f2d3802

View File

@ -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();