aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connectiondata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connectiondata.cpp b/lib/connectiondata.cpp
index 753fa3ad..e806f952 100644
--- a/lib/connectiondata.cpp
+++ b/lib/connectiondata.cpp
@@ -96,7 +96,7 @@ void ConnectionData::submit(BaseJob* job)
{
job->setStatus(BaseJob::Pending);
if (!d->rateLimiter.isActive()) {
- job->sendRequest();
+ QTimer::singleShot(0, job, &BaseJob::sendRequest);
return;
}
d->jobs[size_t(job->isBackground())].emplace(job);