fix compilation with Qt <= 5.4 (Debian jessie still has that)

pull/135/head
Michael Zanetti 2017-09-07 15:10:56 +02:00
parent ec5da8db07
commit c605bf15fe
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,7 @@ namespace guhserver {
class UserManager : public QObject
{
Q_OBJECT
Q_ENUMS(UserError)
public:
enum UserError {
UserErrorNoError,
@ -41,7 +42,6 @@ public:
UserErrorTokenNotFound,
UserErrorPermissionDenied
};
Q_ENUM(UserError)
explicit UserManager(QObject *parent = 0);