aboutsummaryrefslogtreecommitdiff
path: root/lib/connectiondata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connectiondata.cpp')
-rw-r--r--lib/connectiondata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connectiondata.cpp b/lib/connectiondata.cpp
index 94cab29b..753fa3ad 100644
--- a/lib/connectiondata.cpp
+++ b/lib/connectiondata.cpp
@@ -94,7 +94,7 @@ ConnectionData::~ConnectionData()
void ConnectionData::submit(BaseJob* job)
{
- Q_ASSERT(job->error() == BaseJob::Pending);
+ job->setStatus(BaseJob::Pending);
if (!d->rateLimiter.isActive()) {
job->sendRequest();
return;