mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-30 12:18:05 -06:00
committed by
Vladimir Golovnev (Glassez)
parent
f4e6b515c2
commit
b3690494ab
@@ -293,7 +293,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons
|
||||
if (hideValues && (value <= 0))
|
||||
return {};
|
||||
|
||||
return ((static_cast<int>(value) == -1) || (value > BitTorrent::Torrent::MAX_RATIO))
|
||||
return ((static_cast<int>(value) == -1) || (value >= BitTorrent::Torrent::MAX_RATIO))
|
||||
? C_INFINITY : Utils::String::fromDouble(value, 2);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user