Unify and simplify setting to use proxy for torrents only.

This commit is contained in:
sledgehammer999 2016-10-30 01:21:46 +03:00
parent 5cbc7b16c0
commit 6053390bf5
5 changed files with 20 additions and 18 deletions

View file

@ -67,8 +67,8 @@ namespace Net
ProxyConfiguration proxyConfiguration() const;
void setProxyConfiguration(const ProxyConfiguration &config);
bool isProxyDisabled() const;
void setProxyDisabled(bool disabled);
bool isProxyOnlyForTorrents() const;
void setProxyOnlyForTorrents(bool onlyForTorrents);
bool isAuthenticationRequired() const;
@ -80,7 +80,7 @@ namespace Net
static ProxyConfigurationManager *m_instance;
ProxyConfiguration m_config;
bool m_proxyDisabled;
bool m_isProxyOnlyForTorrents;
};
}