diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-12 18:02:27 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-12 18:02:27 +0900 |
commit | 74caea2669b8f76ca76507bc40321fdcd23dc522 (patch) | |
tree | 00a8e8eb57178cfe8daf70c132b03e336ca75107 /lib/jobs/basejob.cpp | |
parent | 45443dfbd8e800238ec0f0b6d284c144c02ee0d8 (diff) | |
download | libquotient-74caea2669b8f76ca76507bc40321fdcd23dc522.tar.gz libquotient-74caea2669b8f76ca76507bc40321fdcd23dc522.zip |
Minor polish
Diffstat (limited to 'lib/jobs/basejob.cpp')
-rw-r--r-- | lib/jobs/basejob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp index 6ad8d971..b3cfc527 100644 --- a/lib/jobs/basejob.cpp +++ b/lib/jobs/basejob.cpp @@ -300,7 +300,7 @@ void BaseJob::gotReply() QJsonDocument::fromJson(d->rawResponse).object())); } - if (error() != TooManyRequestsError) + if (status().code != TooManyRequestsError) finishJob(); else { stop(); |