mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Improved "delete torrents once they reach a given ratio"
Fix button order in exit confirmation dialog
This commit is contained in:
@@ -217,7 +217,7 @@ void Bittorrent::deleteBigRatios() {
|
||||
if(h.is_seed()) {
|
||||
const QString hash = h.hash();
|
||||
const float ratio = getRealRatio(hash);
|
||||
if(ratio <= MAX_RATIO && ratio > ratio_limit) {
|
||||
if(ratio <= MAX_RATIO && ratio >= ratio_limit) {
|
||||
addConsoleMessage(tr("%1 reached the maximum ratio you set.").arg(h.name()));
|
||||
deleteTorrent(hash);
|
||||
//emit torrent_ratio_deleted(fileName);
|
||||
|
||||
Reference in New Issue
Block a user