Browse Source

- Download queueing fix

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
b73d0548c8
  1. 8
      src/bittorrent.cpp

8
src/bittorrent.cpp

@ -298,6 +298,14 @@ void bittorrent::updateDownloadQueue() { @@ -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) {

Loading…
Cancel
Save