mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* Adapt to new API.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user