mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Merge pull request #10728 from glassez/fix-seqdl
Fix sequential downloading when redirected
This commit is contained in:
commit
979c9a7094
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ void Net::DownloadManager::applyProxySettings()
|
||||||
|
|
||||||
void Net::DownloadManager::handleReplyFinished(QNetworkReply *reply)
|
void Net::DownloadManager::handleReplyFinished(QNetworkReply *reply)
|
||||||
{
|
{
|
||||||
const ServiceID id = ServiceID::fromURL(reply->url());
|
const ServiceID id = ServiceID::fromURL(reply->request().url());
|
||||||
auto waitingJobsIter = m_waitingJobs.find(id);
|
auto waitingJobsIter = m_waitingJobs.find(id);
|
||||||
if ((waitingJobsIter == m_waitingJobs.end()) || waitingJobsIter.value().isEmpty()) {
|
if ((waitingJobsIter == m_waitingJobs.end()) || waitingJobsIter.value().isEmpty()) {
|
||||||
m_busyServices.remove(id);
|
m_busyServices.remove(id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue