Browse Source

Fix alternative upload speed limit overwriting standard upload speed limit.

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
5f7822d202
  1. 2
      src/preferences.h

2
src/preferences.h

@ -296,7 +296,7 @@ public: @@ -296,7 +296,7 @@ public:
static void setAltGlobalUploadLimit(int limit) {
QSettings settings("qBittorrent", "qBittorrent");
if(limit <= 0) limit = -1;
settings.setValue("Preferences/Connection/GlobalUPLimit", limit);
settings.setValue("Preferences/Connection/GlobalUPLimitAlt", limit);
}
static bool isAltBandwidthEnabled() {

Loading…
Cancel
Save