mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Move option "Ignore transfer limits on local network" to Speed page
This commit is contained in:
parent
dfb2f8b3b3
commit
bd657fe9ae
6 changed files with 18 additions and 13 deletions
|
@ -1420,12 +1420,12 @@ void Preferences::setOutgoingPortsMax(uint val)
|
|||
setValue("Preferences/Advanced/OutgoingPortsMax", val);
|
||||
}
|
||||
|
||||
bool Preferences::ignoreLimitsOnLAN() const
|
||||
bool Preferences::getIgnoreLimitsOnLAN() const
|
||||
{
|
||||
return value("Preferences/Advanced/IgnoreLimitsLAN", true).toBool();
|
||||
}
|
||||
|
||||
void Preferences::ignoreLimitsOnLAN(bool ignore)
|
||||
void Preferences::setIgnoreLimitsOnLAN(bool ignore)
|
||||
{
|
||||
setValue("Preferences/Advanced/IgnoreLimitsLAN", ignore);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue