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:
parent
80c1b9417e
commit
609f882e27
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user