1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-20 07:52:30 +02:00

* Adapt to new API.

This commit is contained in:
Christian Muehlhaeuser 2014-08-13 06:12:53 +02:00
parent e5bf26223d
commit b1a8c326fa

View File

@ -57,7 +57,7 @@ SourceInfoWidget::SourceInfoWidget( const Tomahawk::source_ptr& source, QWidget*
m_historyModel = new RecentlyPlayedModel( ui->historyView );
ui->historyView->proxyModel()->setStyle( PlayableProxyModel::Short );
ui->historyView->setPlaylistModel( m_historyModel );
ui->historyView->setPlayableModel( m_historyModel );
m_historyModel->setSource( source );
m_recentAlbumModel = new AlbumModel( ui->recentAlbumView );