Browse Source

Apply proxy settings on DownloadManager creation

adaptive-webui-19844
Vladimir Golovnev (Glassez) 6 years ago
parent
commit
f7c252886f
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 1
      src/base/net/downloadmanager.cpp

1
src/base/net/downloadmanager.cpp

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

Loading…
Cancel
Save