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
Thiago Macieira 2011-12-30 14:54:11 -02:00 committed by Qt by Nokia
parent a8d4e6d04e
commit ce9d760d59
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ public:
SourceOverScaledPixmapCapability = 0x0008,
// Internal ones
OutlineCapability = 0x0001000,
OutlineCapability = 0x0001000
};
Q_DECLARE_FLAGS (Capabilities, Capability);

View File

@ -72,7 +72,7 @@ public:
enum Caps {
NoCaps = 0,
CapBegin = 0x1,
CapEnd = 0x2,
CapEnd = 0x2
};
// used to avoid drop outs or duplicated points

View File

@ -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);