1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

Apply proxy settings on DownloadManager creation

This commit is contained in:
Vladimir Golovnev (Glassez) 2018-07-13 12:29:50 +03:00
parent de8050701d
commit f7c252886f
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

View File

@ -134,6 +134,7 @@ Net::DownloadManager::DownloadManager(QObject *parent)
connect(ProxyConfigurationManager::instance(), &ProxyConfigurationManager::proxyConfigurationChanged connect(ProxyConfigurationManager::instance(), &ProxyConfigurationManager::proxyConfigurationChanged
, this, &DownloadManager::applyProxySettings); , this, &DownloadManager::applyProxySettings);
m_networkManager.setCookieJar(new NetworkCookieJar(this)); m_networkManager.setCookieJar(new NetworkCookieJar(this));
applyProxySettings();
} }
void Net::DownloadManager::initInstance() void Net::DownloadManager::initInstance()