diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:48:34 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:48:34 +0900 |
commit | 8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 (patch) | |
tree | 16a2936f59ff9e67a1b24d72214e9e02b2400471 /jobs | |
parent | bab9a9bc259552abb8b4a8570d2a121283d611ec (diff) | |
download | libquotient-8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393.tar.gz libquotient-8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393.zip |
BaseJob: change initial job status from NoError to Pending
Otherwise isJobRunning() is of no great use.
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/basejob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/basejob.cpp b/jobs/basejob.cpp index 8d116c26..9df3e430 100644 --- a/jobs/basejob.cpp +++ b/jobs/basejob.cpp @@ -65,7 +65,7 @@ class BaseJob::Private bool needsToken; QScopedPointer<QNetworkReply, NetworkReplyDeleter> reply; - Status status = NoError; + Status status = Pending; QTimer timer; QTimer retryTimer; |