aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/basejob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-12 18:02:27 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-12 18:02:27 +0900
commit74caea2669b8f76ca76507bc40321fdcd23dc522 (patch)
tree00a8e8eb57178cfe8daf70c132b03e336ca75107 /lib/jobs/basejob.cpp
parent45443dfbd8e800238ec0f0b6d284c144c02ee0d8 (diff)
downloadlibquotient-74caea2669b8f76ca76507bc40321fdcd23dc522.tar.gz
libquotient-74caea2669b8f76ca76507bc40321fdcd23dc522.zip
Minor polish
Diffstat (limited to 'lib/jobs/basejob.cpp')
-rw-r--r--lib/jobs/basejob.cpp2
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();