From cf2abe45deb9f6301de92b75cc190c53c128e82a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 6 Oct 2008 12:21:34 +0000 Subject: [PATCH] - AddinPause feature no longer applies to resumed torrents on startup (closes #278827) --- src/bittorrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 9877b20b7..ea7510a0f 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -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(); }