Fix warnings about commas at the end of enums
It's non-standard to accept them, so remove them and silence the warnings. Change-Id: I51c5afe99eac408f326ab9fcf40435b60e953b54 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>bb10
parent
a8d4e6d04e
commit
ce9d760d59
|
|
@ -64,7 +64,7 @@ public:
|
|||
SourceOverScaledPixmapCapability = 0x0008,
|
||||
|
||||
// Internal ones
|
||||
OutlineCapability = 0x0001000,
|
||||
OutlineCapability = 0x0001000
|
||||
};
|
||||
Q_DECLARE_FLAGS (Capabilities, Capability);
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ public:
|
|||
enum Caps {
|
||||
NoCaps = 0,
|
||||
CapBegin = 0x1,
|
||||
CapEnd = 0x2,
|
||||
CapEnd = 0x2
|
||||
};
|
||||
|
||||
// used to avoid drop outs or duplicated points
|
||||
|
|
|
|||
|
|
@ -425,7 +425,7 @@ public:
|
|||
enum LayoutState {
|
||||
LayoutEmpty,
|
||||
InLayout,
|
||||
LayoutFailed,
|
||||
LayoutFailed
|
||||
};
|
||||
struct Q_GUI_EXPORT LayoutData {
|
||||
LayoutData(const QString &str, void **stack_memory, int mem_size);
|
||||
|
|
|
|||
Loading…
Reference in New Issue