mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 12:47:45 +02:00
* Use FlexibleView's setPlaylistModel.
This commit is contained in:
@@ -141,7 +141,7 @@ ViewManager::createPageForPlaylist( const playlist_ptr& playlist )
|
|||||||
view->setPixmap( pv->pixmap() );
|
view->setPixmap( pv->pixmap() );
|
||||||
|
|
||||||
// We need to set the model on the view before loading the playlist, so spinners & co are connected
|
// We need to set the model on the view before loading the playlist, so spinners & co are connected
|
||||||
view->setPlayableModel( model );
|
view->setPlaylistModel( model );
|
||||||
pv->setPlaylistModel( model );
|
pv->setPlaylistModel( model );
|
||||||
|
|
||||||
model->loadPlaylist( playlist );
|
model->loadPlaylist( playlist );
|
||||||
|
Reference in New Issue
Block a user