1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #9186 from glassez/fix-dm

Apply proxy settings on DownloadManager creation
This commit is contained in:
Vladimir Golovnev 2018-07-14 12:01:28 +03:00 committed by GitHub
commit 11cd828e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()