1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-28 15:34:16 +00:00

Fix alternative upload speed limit overwriting standard upload speed limit.

This commit is contained in:
Christophe Dumez 2010-01-25 19:54:46 +00:00
parent 6a87225dd0
commit 5f7822d202

View File

@ -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() {