fix some pedantic compiler warnings

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-06-25 14:11:51 +00:00
parent 7836cda06e
commit 748cb7993d
3 changed files with 3 additions and 6 deletions

View file

@ -85,7 +85,7 @@ public:
InvalidService,
InvalidObjectPath,
InvalidInterface,
InvalidMember,
InvalidMember
};
QDBusError(const DBusError *error = 0);

View file

@ -63,10 +63,7 @@ public:
SourceOverPixmapCapability = 0x0004,
SourceOverScaledPixmapCapability = 0x0008,
AlphaFillRectCapability = 0x0010,
OpacityPixmapCapability = 0x0020,
// Internal ones
OutlineCapability = 0x0001000,
OpacityPixmapCapability = 0x0020
};
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