mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Apply "Hide infinity values" to "Down/Up Limit" columns
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user