mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Download queueing fix
This commit is contained in:
parent
ca118697e9
commit
b73d0548c8
1 changed files with 8 additions and 0 deletions
|
@ -298,6 +298,14 @@ void bittorrent::updateDownloadQueue() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if(currentActiveTorrents < maxActiveDlTorrents && isDownloadQueued(hash)) {
|
||||||
|
QTorrentHandle h = getTorrentHandle(hash);
|
||||||
|
h.resume();
|
||||||
|
queuedDownloads->removeAll(hash);
|
||||||
|
QFile::remove(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".queued");
|
||||||
|
++currentActiveTorrents;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(currentActiveTorrents < maxActiveDlTorrents) {
|
if(currentActiveTorrents < maxActiveDlTorrents) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue