mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Always connect model and view before loading a playlist so the spinner appears.
This commit is contained in:
@@ -152,14 +152,14 @@ ViewManager::queue() const
|
||||
return m_queueView->queue();
|
||||
}
|
||||
|
||||
|
||||
PlaylistView*
|
||||
ViewManager::createPageForPlaylist( const playlist_ptr& pl )
|
||||
{
|
||||
PlaylistView* view = new PlaylistView();
|
||||
|
||||
PlaylistModel* model = new PlaylistModel();
|
||||
model->loadPlaylist( pl );
|
||||
view->setPlaylistModel( model );
|
||||
model->loadPlaylist( pl );
|
||||
view->setFrameShape( QFrame::NoFrame );
|
||||
view->setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
||||
pl->resolve();
|
||||
|
Reference in New Issue
Block a user