diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-07 21:32:07 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-07 21:32:07 +0100 |
commit | 78a3137920d9680072dc3796dd90f849e8467fd4 (patch) | |
tree | feec4de641d5663c57f31a5ae2c71bf86a42c8c1 /lib/jobs/basejob.h | |
parent | aa790406aa0b076938f877e38545baf481a986ec (diff) | |
download | libquotient-78a3137920d9680072dc3796dd90f849e8467fd4.tar.gz libquotient-78a3137920d9680072dc3796dd90f849e8467fd4.zip |
isJobRunning() -> isJobPending()
To be very clear what this function checks. See also #437.
Diffstat (limited to 'lib/jobs/basejob.h')
-rw-r--r-- | lib/jobs/basejob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h index a72f6120..317d5701 100644 --- a/lib/jobs/basejob.h +++ b/lib/jobs/basejob.h @@ -478,7 +478,7 @@ private: QScopedPointer<Private> d; }; -inline bool isJobRunning(BaseJob* job) +inline bool isJobPending(BaseJob* job) { return job && job->error() == BaseJob::Pending; } |