Fix updating play and skip count

This commit is contained in:
Jonas Kvinge
2019-04-19 14:02:28 +02:00
parent dffc46551e
commit 40db9f7020
7 changed files with 13 additions and 1 deletions

View File

@@ -121,6 +121,7 @@ CollectionModel::CollectionModel(CollectionBackend *backend, Application *app, Q
connect(backend_, SIGNAL(TotalSongCountUpdated(int)), SLOT(TotalSongCountUpdatedSlot(int)));
connect(backend_, SIGNAL(TotalArtistCountUpdated(int)), SLOT(TotalArtistCountUpdatedSlot(int)));
connect(backend_, SIGNAL(TotalAlbumCountUpdated(int)), SLOT(TotalAlbumCountUpdatedSlot(int)));
connect(backend_, SIGNAL(SongsStatisticsChanged(SongList)), SLOT(SongsSlightlyChanged(SongList)));
backend_->UpdateTotalSongCountAsync();
backend_->UpdateTotalArtistCountAsync();