1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-02 20:36:44 +01:00

Merge pull request #6452 from jonaski/songcount

Fix updating song count
This commit is contained in:
John Maguire 2019-11-13 20:55:07 +00:00 committed by GitHub
commit 34d46180c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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