X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientauthhandler.cpp;h=083b2dd2ca793bfcb3d33a3675689e6f00020f1b;hp=260128b7b7ef16c5eeb0a70665a63ebf36048bd4;hb=183d6375f0baf6b5dac1a470f59a748f48dde711;hpb=a700bd999215313b075ced5a1e3ba4ea8917fbbc diff --git a/src/client/clientauthhandler.cpp b/src/client/clientauthhandler.cpp index 260128b7..083b2dd2 100644 --- a/src/client/clientauthhandler.cpp +++ b/src/client/clientauthhandler.cpp @@ -410,7 +410,11 @@ void ClientAuthHandler::onSslSocketEncrypted() auto* socket = qobject_cast(sender()); Q_ASSERT(socket); +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) if (!socket->sslErrors().count()) { +#else + if (!socket->sslHandshakeErrors().count()) { +#endif // Cert is valid, so we don't want to store it as known // That way, a warning will appear in case it becomes invalid at some point CoreAccountSettings s;