From 6edd9e7a12a3827fb6aac62a88be01085e41e176 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sun, 28 Jun 2020 16:30:52 +0200 Subject: Huge refacoring of the settings stuff. Provides automated migration between old and new configuration file stuff. Themes are now just files in a folder instead of encoded data in the config file. --- src/protocols/webclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocols/webclient.cpp') diff --git a/src/protocols/webclient.cpp b/src/protocols/webclient.cpp index ed87694..299b39b 100644 --- a/src/protocols/webclient.cpp +++ b/src/protocols/webclient.cpp @@ -36,7 +36,7 @@ bool WebClient::startRequest(const QUrl &url, RequestOptions options) auto ssl_config = request.sslConfiguration(); // ssl_config.setProtocol(QSsl::TlsV1_2); - if(global_https_trust.enable_ca) + if(kristall::trust::https.enable_ca) ssl_config.setCaCertificates(QSslConfiguration::systemCaCertificates()); else ssl_config.setCaCertificates(QList { }); @@ -182,7 +182,7 @@ void WebClient::on_sslErrors(const QList &errors) if(SslTrust::isTrustRelated(err.error())) { auto cert = this->current_reply->sslConfiguration().peerCertificate(); - switch(global_https_trust.getTrust(this->current_reply->url(), cert)) + switch(kristall::trust::https.getTrust(this->current_reply->url(), cert)) { case SslTrust::Trusted: ignore = true; -- cgit v1.2.3