mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Add an option to allow the use of proxies only for torrents
Closes #2701.
This commit is contained in:
parent
e728710430
commit
1c8abd5c3b
6 changed files with 62 additions and 27 deletions
|
@ -110,7 +110,7 @@ void DownloadManager::applyProxySettings()
|
|||
QNetworkProxy proxy;
|
||||
const Preferences* const pref = Preferences::instance();
|
||||
|
||||
if (pref->isProxyEnabled()) {
|
||||
if (pref->isProxyEnabled() && !pref->isProxyOnlyForTorrents()) {
|
||||
// Proxy enabled
|
||||
proxy.setHostName(pref->getProxyIp());
|
||||
proxy.setPort(pref->getProxyPort());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue