mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- 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:
parent
f60ef5dbd5
commit
7ad90b1b80
5 changed files with 183 additions and 8 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue