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
, this, &DownloadManager::applyProxySettings);
m_networkManager.setCookieJar(new NetworkCookieJar(this));
applyProxySettings();
}
void Net::DownloadManager::initInstance()