From 0a0c1f3529eed2e1f0673d684bb5f1c05bccace1 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 10 Oct 2007 17:54:09 +0000 Subject: [PATCH] - BUGFIX: AddInPause setting doesn't pause downloads on startup anymore (real fix this time...) --- src/bittorrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 135c95ead..cd0cd95a4 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -485,7 +485,7 @@ void bittorrent::addTorrent(QString path, bool fromScanDir, QString from_url, bo QFile::copy(file, newFile); } // Pause torrent if it was paused last time - if(!resumed && (addInPause || QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused"))) { + if((!resumed && addInPause) || QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused")) { torrentsToPauseAfterChecking << hash; qDebug("Adding a torrent to the torrentsToPauseAfterChecking list"); }