From 34b4cc2d9e8cc290d833ea04124a3e6767f9271c Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 17 Sep 2020 17:28:32 +0200 Subject: [PATCH] Remove unused function --- src/collection/collection.cpp | 5 ----- src/collection/collection.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/collection/collection.cpp b/src/collection/collection.cpp index dab6c9ddf..f1a616168 100644 --- a/src/collection/collection.cpp +++ b/src/collection/collection.cpp @@ -107,7 +107,6 @@ void SCollection::Init() { connect(watcher_, SIGNAL(SubdirsDiscovered(SubdirectoryList)), backend_, SLOT(AddOrUpdateSubdirs(SubdirectoryList))); connect(watcher_, SIGNAL(SubdirsMTimeUpdated(SubdirectoryList)), backend_, SLOT(AddOrUpdateSubdirs(SubdirectoryList))); connect(watcher_, SIGNAL(CompilationsNeedUpdating()), backend_, SLOT(UpdateCompilations())); - connect(backend_, SIGNAL(SongsStatisticsChanged(SongList)), SLOT(SongsStatisticsChanged(SongList))); connect(app_->playlist_manager(), SIGNAL(CurrentSongChanged(Song)), SLOT(CurrentSongChanged(Song))); connect(app_->player(), SIGNAL(Stopped()), SLOT(Stopped())); @@ -183,7 +182,3 @@ void SCollection::CurrentSongChanged(const Song &song) { // FIXME } } - -void SCollection::SongsStatisticsChanged(const SongList &songs) { - Q_UNUSED(songs); -} diff --git a/src/collection/collection.h b/src/collection/collection.h index 8f7fe3f14..f48a447ad 100644 --- a/src/collection/collection.h +++ b/src/collection/collection.h @@ -79,7 +79,6 @@ class SCollection : public QObject { void IncrementalScan(); void CurrentSongChanged(const Song &song); - void SongsStatisticsChanged(const SongList& songs); void Stopped(); signals: