Verified Commit d3e2ace8 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Add trailing comma to enum

parent 52cb6b0e
......@@ -36,7 +36,7 @@ public:
RunningState,
IdleState,
SuspendedState,
UnknownState
UnknownState,
};
Q_ENUMS(State);
......
......@@ -25,7 +25,7 @@ public:
enum Availability {
Unknown,
Available,
Unavailable
Unavailable,
};
Q_ENUM(Availability)
......
......@@ -21,7 +21,7 @@ class AbstractModel : public QAbstractListModel
Q_OBJECT
public:
enum ItemRole {
PulseObjectRole = Qt::UserRole + 1
PulseObjectRole = Qt::UserRole + 1,
};
Q_PROPERTY(int count READ rowCount NOTIFY countChanged)
......@@ -76,7 +76,7 @@ class SinkModel : public AbstractModel
Q_PROPERTY(QPulseAudio::Sink *preferredSink READ preferredSink NOTIFY preferredSinkChanged)
public:
enum ItemRole {
SortByDefaultRole = PulseObjectRole + 1
SortByDefaultRole = PulseObjectRole + 1,
};
Q_ENUM(ItemRole)
......@@ -111,7 +111,7 @@ class SourceModel : public AbstractModel
Q_PROPERTY(QPulseAudio::Source *defaultSource READ defaultSource NOTIFY defaultSourceChanged)
public:
enum ItemRole {
SortByDefaultRole = PulseObjectRole + 1
SortByDefaultRole = PulseObjectRole + 1,
};
Q_ENUM(ItemRole)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment