mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Add "Paused torrents only" option for "Hide zero and infinity values"
This commit is contained in:
committed by
sledgehammer999
parent
f626276218
commit
18b56f4d0a
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user