mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +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
|
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…
x
Reference in New Issue
Block a user