mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
- AddinPause feature no longer applies to resumed torrents on startup
(closes #278827)
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user