1
0
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:
Christian Muehlhaeuser
2012-11-14 02:21:02 +01:00
parent f924fd380c
commit 39f1c04d7f

View File

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