Making library init async. Prevent from freezing GUI with large collection (especially Jamendo) when loading from DB for the first time since startup

This commit is contained in:
Arnaud Bienner 2011-02-24 23:29:45 +00:00
parent 80c1b9417e
commit 609f882e27

View File

@ -98,7 +98,7 @@ void LibraryModel::Init() {
backend_->UpdateTotalSongCountAsync(); backend_->UpdateTotalSongCountAsync();
Reset(); ResetAsync();
} }
void LibraryModel::SongsDiscovered(const SongList& songs) { void LibraryModel::SongsDiscovered(const SongList& songs) {