mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Apply "Hide infinity values" to "Down/Up Limit" columns
This commit is contained in:
parent
afa2fc0ba9
commit
2aeb8b9390
@ -259,7 +259,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons
|
||||
|
||||
const auto limitString = [hideValues](const qint64 value) -> QString
|
||||
{
|
||||
if (hideValues && (value == 0))
|
||||
if (hideValues && (value <= 0))
|
||||
return {};
|
||||
|
||||
return (value > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user