mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Fix alternative upload speed limit overwriting standard upload speed limit.
This commit is contained in:
parent
6a87225dd0
commit
5f7822d202
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ public:
|
||||||
static void setAltGlobalUploadLimit(int limit) {
|
static void setAltGlobalUploadLimit(int limit) {
|
||||||
QSettings settings("qBittorrent", "qBittorrent");
|
QSettings settings("qBittorrent", "qBittorrent");
|
||||||
if(limit <= 0) limit = -1;
|
if(limit <= 0) limit = -1;
|
||||||
settings.setValue("Preferences/Connection/GlobalUPLimit", limit);
|
settings.setValue("Preferences/Connection/GlobalUPLimitAlt", limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isAltBandwidthEnabled() {
|
static bool isAltBandwidthEnabled() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue