diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-28 16:30:52 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-28 16:30:52 +0200 |
| commit | 6edd9e7a12a3827fb6aac62a88be01085e41e176 (patch) | |
| tree | 4513475c7efaea92a154ff20e970ed3d4b475b7c /src/protocols/webclient.cpp | |
| parent | a53e490d2e96d22a24293019921af26e00f2bf7a (diff) | |
| download | kristall-6edd9e7a12a3827fb6aac62a88be01085e41e176.tar.gz | |
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.
Diffstat (limited to 'src/protocols/webclient.cpp')
| -rw-r--r-- | src/protocols/webclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<QSslCertificate> { }); @@ -182,7 +182,7 @@ void WebClient::on_sslErrors(const QList<QSslError> &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; |
