CollectionBackend: Add default for ResetStatistics save_tags to false

This commit is contained in:
Jonas Kvinge
2023-03-18 01:00:28 +01:00
parent e394416fa7
commit 39e1bfc84f

View File

@@ -236,7 +236,7 @@ class CollectionBackend : public CollectionBackendInterface {
void ForceCompilation(const QString &album, const QList<QString> &artists, const bool on); void ForceCompilation(const QString &album, const QList<QString> &artists, const bool on);
void IncrementPlayCount(const int id); void IncrementPlayCount(const int id);
void IncrementSkipCount(const int id, const float progress); void IncrementSkipCount(const int id, const float progress);
void ResetStatistics(const int id, const bool save_tags); void ResetStatistics(const int id, const bool save_tags = false);
void DeleteAll(); void DeleteAll();
void SongPathChanged(const Song &song, const QFileInfo &new_file, const std::optional<int> new_collection_directory_id); void SongPathChanged(const Song &song, const QFileInfo &new_file, const std::optional<int> new_collection_directory_id);