mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Apply "Hide infinity values" to "Down/Up Limit" columns
This commit is contained in:
parent
afa2fc0ba9
commit
2aeb8b9390
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons
|
||||||
|
|
||||||
const auto limitString = [hideValues](const qint64 value) -> QString
|
const auto limitString = [hideValues](const qint64 value) -> QString
|
||||||
{
|
{
|
||||||
if (hideValues && (value == 0))
|
if (hideValues && (value <= 0))
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
return (value > 0)
|
return (value > 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue