mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 18:03:44 +01:00
Replace Q_ENUMS with Q_ENUM
This commit is contained in:
parent
53cc47a8b1
commit
df31b5d59f
@ -60,8 +60,6 @@ class CollectionDirectoryModel;
|
|||||||
class CollectionModel : public SimpleTreeModel<CollectionItem> {
|
class CollectionModel : public SimpleTreeModel<CollectionItem> {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
Q_ENUMS(GroupBy) // clazy:exclude=qenums
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit CollectionModel(CollectionBackend *backend, Application *app, QObject *parent = nullptr);
|
explicit CollectionModel(CollectionBackend *backend, Application *app, QObject *parent = nullptr);
|
||||||
~CollectionModel() override;
|
~CollectionModel() override;
|
||||||
@ -107,6 +105,7 @@ class CollectionModel : public SimpleTreeModel<CollectionItem> {
|
|||||||
GroupBy_Bitrate = 20,
|
GroupBy_Bitrate = 20,
|
||||||
GroupByCount = 21,
|
GroupByCount = 21,
|
||||||
};
|
};
|
||||||
|
Q_ENUM(GroupBy)
|
||||||
|
|
||||||
struct Grouping {
|
struct Grouping {
|
||||||
explicit Grouping(GroupBy f = GroupBy_None, GroupBy s = GroupBy_None, GroupBy t = GroupBy_None)
|
explicit Grouping(GroupBy f = GroupBy_None, GroupBy s = GroupBy_None, GroupBy t = GroupBy_None)
|
||||||
|
Loading…
Reference in New Issue
Block a user