mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
- AddinPause feature no longer applies to resumed torrents on startup
(closes #278827)
This commit is contained in:
parent
88ac8adb30
commit
cf2abe45de
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
qDebug("Incremental download enabled for %s", t->name().c_str());
|
||||||
h.set_sequenced_download_threshold(1);
|
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
|
// Start torrent because it was added in paused state
|
||||||
h.resume();
|
h.resume();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue