Browse Source

- AddinPause feature no longer applies to resumed torrents on startup

(closes #278827)
adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
cf2abe45de
  1. 2
      src/bittorrent.cpp

2
src/bittorrent.cpp

@ -1017,7 +1017,7 @@ void bittorrent::addTorrent(QString path, bool fromScanDir, QString from_url, bo @@ -1017,7 +1017,7 @@ void bittorrent::addTorrent(QString path, bool fromScanDir, QString from_url, bo
qDebug("Incremental download enabled for %s", t->name().c_str());
h.set_sequenced_download_threshold(1);
}
if(!addInPause && !QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused")) {
if((resumed || !addInPause) && !QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused")) {
// Start torrent because it was added in paused state
h.resume();
}

Loading…
Cancel
Save