Not really.
And that's exactly what happens - you get one download.I've queued all the download requests in pendingRequestList and scheduled only one download at a time.
Yeah, but after the first download you have two elements in the queue, so the condition size()==1 is not satisfied. Don't you think it should be "!pendingRequest.isEmpty()"?When the first download is finished and the request queue is empty, done(bool) signal is emitted and slot myHttpRequestDone(bool) is called where processNextRequest() is called and it's processNextRequest() where QHttp:get() is called for the next download. So it's not a problem that the condition pendingRequest.size() == 1 is executed only for the first download request.
Bookmarks