1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-15 10:14:43 +01:00

These don't need to be slots

This commit is contained in:
Jonas Kvinge 2021-03-21 04:38:47 +01:00
parent 02c30211a7
commit 329dfb21b9

View File

@ -195,6 +195,9 @@ class CollectionModel : public SimpleTreeModel<CollectionItem> {
void ExpandAll(CollectionItem *item = nullptr) const;
const CollectionModel::Grouping &GetGroupBy() const { return group_by_; }
void SetGroupBy(const CollectionModel::Grouping &g);
signals:
void TotalSongCountUpdated(int count);
void TotalArtistCountUpdated(int count);
@ -206,8 +209,6 @@ class CollectionModel : public SimpleTreeModel<CollectionItem> {
void SetFilterText(const QString &text);
void SetFilterQueryMode(QueryOptions::QueryMode query_mode);
void SetGroupBy(const CollectionModel::Grouping &g);
const CollectionModel::Grouping &GetGroupBy() const { return group_by_; }
void Init(const bool async = true);
void Reset();
void ResetAsync();