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:
parent
e5bf26223d
commit
b1a8c326fa
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user