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:
commit
34d46180c3
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user