CollectionModel: Don't process model updates when loading

This commit is contained in:
Jonas Kvinge
2024-06-14 18:40:52 +02:00
parent 076d065f7c
commit f596695f61
2 changed files with 25 additions and 2 deletions

View File

@@ -292,6 +292,8 @@ class CollectionModel : public SimpleTreeModel<CollectionItem> {
int total_artist_count_;
int total_album_count_;
bool loading_;
QQueue<CollectionModelUpdate> updates_;
// Keyed on database ID