diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-21 08:17:09 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-27 16:51:35 +0900 |
commit | c4a20a6d9a5f6bfbd4315450ccaff8195a3f521a (patch) | |
tree | a9da3270145bfc600704e6bf6b78d654a02bcb67 /lib/jobs | |
parent | d803b04d37e82dd7f8b901d29e04851d97d1f4eb (diff) | |
download | libquotient-c4a20a6d9a5f6bfbd4315450ccaff8195a3f521a.tar.gz libquotient-c4a20a6d9a5f6bfbd4315450ccaff8195a3f521a.zip |
Don't use enumerator attributes
Anything after enumerators is a problem for moc before Qt 5.12; so
we can't use enumerator attributes before then.
Diffstat (limited to 'lib/jobs')
-rw-r--r-- | lib/jobs/basejob.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h index 4dc287f8..6c1b802c 100644 --- a/lib/jobs/basejob.h +++ b/lib/jobs/basejob.h @@ -66,8 +66,7 @@ public: IncorrectRequestError = IncorrectRequest, IncorrectResponse, IncorrectResponseError = IncorrectResponse, - JsonParseError - Q_DECL_ENUMERATOR_DEPRECATED_X("Use IncorrectResponse instead") + JsonParseError //< \deprecated Use IncorrectResponse instead = IncorrectResponse, TooManyRequests, TooManyRequestsError = TooManyRequests, |