From 8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 9 Jan 2018 11:48:34 +0900 Subject: BaseJob: change initial job status from NoError to Pending Otherwise isJobRunning() is of no great use. --- jobs/basejob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs') 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 reply; - Status status = NoError; + Status status = Pending; QTimer timer; QTimer retryTimer; -- cgit v1.2.3