Do AddOrUpdateSongs in database thread

This commit is contained in:
Jonas Kvinge
2020-05-12 18:45:24 +02:00
parent c8d5f03070
commit 2bcad9b637
4 changed files with 10 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ void InternetSongsView::SongsFinished(const SongList &songs, const QString &erro
service_->songs_collection_backend()->DeleteAll();
ui_->stacked->setCurrentWidget(ui_->internetcollection_page);
ui_->status->clear();
service_->songs_collection_backend()->AddOrUpdateSongs(songs);
service_->songs_collection_backend()->AddOrUpdateSongsAsync(songs);
}
}