mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Unify and simplify setting to use proxy for torrents only.
This commit is contained in:
parent
5cbc7b16c0
commit
6053390bf5
5 changed files with 20 additions and 18 deletions
|
@ -213,7 +213,7 @@ void DownloadManager::applyProxySettings()
|
|||
ProxyConfiguration proxyConfig = proxyManager->proxyConfiguration();
|
||||
QNetworkProxy proxy;
|
||||
|
||||
if (!proxyManager->isProxyDisabled() && (proxyConfig.type != ProxyType::None)) {
|
||||
if (!proxyManager->isProxyOnlyForTorrents() && (proxyConfig.type != ProxyType::None)) {
|
||||
// Proxy enabled
|
||||
proxy.setHostName(proxyConfig.ip);
|
||||
proxy.setPort(proxyConfig.port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue