mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 13:17:34 +02:00
* Load playlists before showing them.
This commit is contained in:
@@ -203,6 +203,9 @@ ViewManager::playlistForPage( ViewPage* page ) const
|
|||||||
Tomahawk::ViewPage*
|
Tomahawk::ViewPage*
|
||||||
ViewManager::show( const Tomahawk::playlist_ptr& playlist )
|
ViewManager::show( const Tomahawk::playlist_ptr& playlist )
|
||||||
{
|
{
|
||||||
|
if ( !playlist->loaded() )
|
||||||
|
playlist->loadRevision();
|
||||||
|
|
||||||
FlexibleView* view;
|
FlexibleView* view;
|
||||||
|
|
||||||
if ( !m_playlistViews.contains( playlist ) || m_playlistViews.value( playlist ).isNull() )
|
if ( !m_playlistViews.contains( playlist ) || m_playlistViews.value( playlist ).isNull() )
|
||||||
|
Reference in New Issue
Block a user