mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +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() ) );
|
connect( SourceList::instance(), SIGNAL( ready() ), SLOT( onReady() ) );
|
||||||
|
|
||||||
// Load recent playlists initially
|
// Load recent playlists initially
|
||||||
onRefresh();
|
if ( SourceList::instance()->isReady() )
|
||||||
|
onRefresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user