mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 18:26:11 +03:00
Don't ever stop seeding forced torrents. Closes #5784.
This commit is contained in:
parent
4128f01aa8
commit
259b5e51c4
1 changed files with 2 additions and 1 deletions
|
@ -1289,7 +1289,8 @@ void Session::processBigRatios()
|
|||
|
||||
qreal globalMaxRatio = this->globalMaxRatio();
|
||||
foreach (TorrentHandle *const torrent, m_torrents) {
|
||||
if (torrent->isSeed() && (torrent->ratioLimit() != TorrentHandle::NO_RATIO_LIMIT)) {
|
||||
if (torrent->isSeed()
|
||||
&& ((torrent->ratioLimit() != TorrentHandle::NO_RATIO_LIMIT) || !torrent->isForced())) {
|
||||
const qreal ratio = torrent->realRatio();
|
||||
qreal ratioLimit = torrent->ratioLimit();
|
||||
if (ratioLimit == TorrentHandle::USE_GLOBAL_RATIO) {
|
||||
|
|
Loading…
Reference in a new issue