fix compilation with Qt <= 5.4 (Debian jessie still has that)
This commit is contained in:
parent
ec5da8db07
commit
c605bf15fe
@ -31,6 +31,7 @@ namespace guhserver {
|
|||||||
class UserManager : public QObject
|
class UserManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_ENUMS(UserError)
|
||||||
public:
|
public:
|
||||||
enum UserError {
|
enum UserError {
|
||||||
UserErrorNoError,
|
UserErrorNoError,
|
||||||
@ -41,7 +42,6 @@ public:
|
|||||||
UserErrorTokenNotFound,
|
UserErrorTokenNotFound,
|
||||||
UserErrorPermissionDenied
|
UserErrorPermissionDenied
|
||||||
};
|
};
|
||||||
Q_ENUM(UserError)
|
|
||||||
|
|
||||||
explicit UserManager(QObject *parent = 0);
|
explicit UserManager(QObject *parent = 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user