1
0
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:
Christian Muehlhaeuser
2013-02-24 16:05:32 +01:00
parent 400f52d10d
commit 1f4e010764

View File

@@ -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();
}