summaryrefslogtreecommitdiffstats
path: root/src/core/net
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-07-12 10:23:18 +0200
committerMichal Klocek <michal.klocek@qt.io>2023-07-26 09:58:09 +0200
commitab21f39c6a54be331dd8a155d3374bfe790e0274 (patch)
tree5fd2cd5e2b06cfb2c04aad305c4ea7d470789e0c /src/core/net
parent0918cf094227748f6f9f7e71a7d3eb15e7a7f9c2 (diff)
Do comments from api 6.6 review
Additionally make destructor out of line in qwebengineurlrequestinterceptor as it mirrors qwebenigneurlresponeinterceptor. Pick-to: 6.6 Change-Id: I0cdf7eae9faa671415359368560fb8f6aabf05fe Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/net')
-rw-r--r--src/core/net/system_network_context_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/net/system_network_context_manager.cpp b/src/core/net/system_network_context_manager.cpp
index 1a7b01ce8..e96af8200 100644
--- a/src/core/net/system_network_context_manager.cpp
+++ b/src/core/net/system_network_context_manager.cpp
@@ -265,7 +265,7 @@ void SystemNetworkContextManager::OnNetworkServiceCreated(network::mojom::Networ
// resolver of the network service here, each time it is instantiated, with our global
// DNS-Over-HTTPS settings. This ensures that the global settings don't get lost
// on reinstantiation and are in effect upon initial instantiation.
- QWebEngineGlobalSettings *const globalSettings = QWebEngineGlobalSettings::GetInstance();
+ QWebEngineGlobalSettings *const globalSettings = QWebEngineGlobalSettings::instance();
if (globalSettings->d_ptr->isDnsOverHttpsUserConfigured) {
const bool insecureDnsClientEnabled = globalSettings->d_ptr->insecureDnsClientEnabled;
const bool additionalInsecureDnsTypesEnabled =