1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- BUGFIX: AddInPause setting doesn't pause downloads on startup anymore (real fix this time...)

This commit is contained in:
Christophe Dumez 2007-10-10 17:54:09 +00:00
parent be94c86350
commit 0a0c1f3529

View File

@ -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");
}