1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 21:14:33 +00:00

Apply "Hide infinity values" to "Down/Up Limit" columns

This commit is contained in:
Chocobo1 2021-02-06 11:49:04 +08:00
parent afa2fc0ba9
commit 2aeb8b9390
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -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)