summaryrefslogtreecommitdiff
path: root/examples/webenginewidgets/simplebrowser/browserwindow.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-07-20 16:14:47 +0200
committerKai Koehne <kai.koehne@qt.io>2017-07-25 09:00:08 +0000
commitb5c8c48a87a19618b23d6d4fc5035915a9322117 (patch)
tree18fd975506d4872478a7d9a77d01559fedce9fcb /examples/webenginewidgets/simplebrowser/browserwindow.cpp
parent9f947d40ad772068b2147aff4f4374dc8c0caf30 (diff)
downloadqtwebengine-b5c8c48a87a19618b23d6d4fc5035915a9322117.tar.gz
Fix logic to check for proxy settings
The previous code tried to find out whether a user has set an application proxy by checking the type of the applicationProxy. This is wrong, because a system proxy will actually also change the applicationProxy type. Instead, we now rely on QNetworkProxyFactory::usesSystemConfiguration to decide whether to use QtNetwork's application proxy, or Chromium's logic for the system proxy. We also save the state of QNetworkProxy::useSystemConfiguration to be able to track changes. [ChangeLog][Networking] Fixed an issue where system proxy settings were not picked up correctly. Task-number: QTBUG-61910 Change-Id: I1d9af3f6006ba187266fe50c645f425a46632e41 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'examples/webenginewidgets/simplebrowser/browserwindow.cpp')
0 files changed, 0 insertions, 0 deletions