- Fix Proxy type rank in enum (to be consistent with older qBittorrent versions)

- Added Proxy settings to Web UI
- Fix tiny bugs in proxy settings
This commit is contained in:
Christophe Dumez 2009-12-30 15:07:51 +00:00
parent f60ef5dbd5
commit 7ad90b1b80
5 changed files with 183 additions and 8 deletions

View file

@ -198,9 +198,9 @@ void EventManager::setGlobalPreferences(QVariantMap m) const {
if(m.contains("http_proxy_auth_enabled"))
Preferences::setHTTPProxyAuthEnabled(m["http_proxy_auth_enabled"].toBool());
if(m.contains("http_proxy_username"))
Preferences::setHTTPProxyUsername(m["proxy_username"].toString());
Preferences::setHTTPProxyUsername(m["http_proxy_username"].toString());
if(m.contains("http_proxy_password"))
Preferences::setHTTPProxyPassword(m["proxy_password"].toString());
Preferences::setHTTPProxyPassword(m["http_proxy_password"].toString());
// IP Filter
if(m.contains("ip_filter_enabled"))
Preferences::setFilteringEnabled(m["ip_filter_enabled"].toBool());