From 1ac534915c54a2a60e181ea8c900643e854dcdbf Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Thu, 10 Oct 2019 03:14:38 +0200 Subject: Remove remaining Qt 4 stuff For reference: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5 --- src/murmur/Cert.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/murmur/Cert.cpp') diff --git a/src/murmur/Cert.cpp b/src/murmur/Cert.cpp index 3a1fe10b1..80883cca8 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -129,14 +129,11 @@ void Server::initializeCert() { #endif QString issuer; -#if QT_VERSION >= 0x050000 + QStringList issuerNames = qscCert.issuerInfo(QSslCertificate::CommonName); if (! issuerNames.isEmpty()) { issuer = issuerNames.first(); } -#else - issuer = qscCert.issuerInfo(QSslCertificate::CommonName); -#endif // Really old certs/keys are no good, throw them away so we can // generate a new one below. -- cgit v1.2.3