mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Don't let RecentPlaylistsModel try to load stuff before we're ready.
This commit is contained in:
@@ -44,7 +44,8 @@ RecentPlaylistsModel::RecentPlaylistsModel( unsigned int maxPlaylists, QObject*
|
||||
connect( SourceList::instance(), SIGNAL( ready() ), SLOT( onReady() ) );
|
||||
|
||||
// Load recent playlists initially
|
||||
onRefresh();
|
||||
if ( SourceList::instance()->isReady() )
|
||||
onRefresh();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user