mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Add "Paused torrents only" option for "Hide zero and infinity values"
This commit is contained in:
parent
1a010cbfc6
commit
ee277bf126
5 changed files with 59 additions and 7 deletions
|
@ -283,6 +283,16 @@ void Preferences::setHideZeroValues(bool b)
|
|||
setValue("Preferences/General/HideZeroValues", b);
|
||||
}
|
||||
|
||||
int Preferences::getHideZeroComboValues() const
|
||||
{
|
||||
return value("Preferences/General/HideZeroComboValues", 0).toInt();
|
||||
}
|
||||
|
||||
void Preferences::setHideZeroComboValues(int n)
|
||||
{
|
||||
setValue("Preferences/General/HideZeroComboValues", n);
|
||||
}
|
||||
|
||||
bool Preferences::useRandomPort() const
|
||||
{
|
||||
return value("Preferences/General/UseRandomPort", false).toBool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue