mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Make uTP rate limited by default
This commit is contained in:
parent
368ae43849
commit
399d957142
@ -559,11 +559,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool isuTPRateLimited() const {
|
bool isuTPRateLimited() const {
|
||||||
return value(QString::fromUtf8("Preferences/Bittorrent/uTP_rate_limiting"), false).toBool();
|
return value(QString::fromUtf8("Preferences/Bittorrent/uTP_rate_limited"), true).toBool();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setuTPRateLimited(bool enabled) {
|
void setuTPRateLimited(bool enabled) {
|
||||||
setValue("Preferences/Bittorrent/uTP_rate_limiting", enabled);
|
setValue("Preferences/Bittorrent/uTP_rate_limited", enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isDHTEnabled() const {
|
bool isDHTEnabled() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user