mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 13:41:26 -07:00
parent
66e533f505
commit
7ec80263e1
9 changed files with 105 additions and 80 deletions
|
@ -619,7 +619,7 @@ void AppController::setPreferencesAction()
|
|||
auto *proxyManager = Net::ProxyConfigurationManager::instance();
|
||||
Net::ProxyConfiguration proxyConf = proxyManager->proxyConfiguration();
|
||||
if (hasKey(u"proxy_type"_s))
|
||||
proxyConf.type = Utils::String::toEnum(it.value().toString(), Net::ProxyType::HTTP);
|
||||
proxyConf.type = Utils::String::toEnum(it.value().toString(), Net::ProxyType::None);
|
||||
if (hasKey(u"proxy_ip"_s))
|
||||
proxyConf.ip = it.value().toString();
|
||||
if (hasKey(u"proxy_port"_s))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue