mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 05:32:05 +00:00
"Add in pause" setting is no longer ignored if torrent is loaded from a watched directory
This commit is contained in:
parent
c35ef9ad15
commit
92574458d0
@ -853,7 +853,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
|
|||||||
TorrentPersistentData::saveSavePath(hash, savePath);
|
TorrentPersistentData::saveSavePath(hash, savePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!fastResume && (!addInPause || Preferences::useAdditionDialog())) {
|
if(!fastResume && (!addInPause || (Preferences::useAdditionDialog()))) {
|
||||||
// Start torrent because it was added in paused state
|
// Start torrent because it was added in paused state
|
||||||
h.resume();
|
h.resume();
|
||||||
}
|
}
|
||||||
@ -1056,7 +1056,7 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr
|
|||||||
// Copy it to torrentBackup directory
|
// Copy it to torrentBackup directory
|
||||||
QFile::copy(file, newFile);
|
QFile::copy(file, newFile);
|
||||||
}
|
}
|
||||||
if(!fastResume && (!addInPause || Preferences::useAdditionDialog())) {
|
if(!fastResume && (!addInPause || (Preferences::useAdditionDialog() && !fromScanDir))) {
|
||||||
// Start torrent because it was added in paused state
|
// Start torrent because it was added in paused state
|
||||||
h.resume();
|
h.resume();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user