1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-01 18:04:05 +02:00

* Don't let RecentPlaylistsModel try to load stuff before we're ready.

This commit is contained in:
Christian Muehlhaeuser
2013-02-24 16:05:32 +01:00
parent 023c4dc015
commit cbf9751222

View File

@@ -44,7 +44,8 @@ RecentPlaylistsModel::RecentPlaylistsModel( unsigned int maxPlaylists, QObject*
connect( SourceList::instance(), SIGNAL( ready() ), SLOT( onReady() ) ); connect( SourceList::instance(), SIGNAL( ready() ), SLOT( onReady() ) );
// Load recent playlists initially // Load recent playlists initially
onRefresh(); if ( SourceList::instance()->isReady() )
onRefresh();
} }