1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-23 07:50:13 +01:00

Fix updating song count

This commit is contained in:
Jonas Kvinge 2019-11-13 19:20:17 +01:00
parent 21848d62d8
commit 44c111941c

View File

@ -326,7 +326,7 @@ void LibraryView::SetApplication(Application* app) {
void LibraryView::SetFilter(LibraryFilterWidget* filter) { filter_ = filter; }
void LibraryView::TotalSongCountUpdated(int count) {
bool old = total_song_count_;
int old = total_song_count_;
total_song_count_ = count;
if (old != total_song_count_) update();