mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Make uTP rate limited by default
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user