diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp index 2ba35572cf..4b41d84633 100644 --- a/src/network/ssl/qsslconfiguration.cpp +++ b/src/network/ssl/qsslconfiguration.cpp @@ -1063,11 +1063,7 @@ QByteArray QSslConfiguration::nextNegotiatedProtocol() const \sa nextNegotiatedProtocol(), nextProtocolNegotiationStatus(), allowedNextProtocols(), QSslConfiguration::NextProtocolHttp1_1 */ -#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) void QSslConfiguration::setAllowedNextProtocols(const QList &protocols) -#else -void QSslConfiguration::setAllowedNextProtocols(QList protocols) -#endif { d->nextAllowedProtocols = protocols; } diff --git a/src/network/ssl/qsslconfiguration.h b/src/network/ssl/qsslconfiguration.h index 706ac5775f..116920950e 100644 --- a/src/network/ssl/qsslconfiguration.h +++ b/src/network/ssl/qsslconfiguration.h @@ -189,11 +189,7 @@ public: NextProtocolNegotiationUnsupported }; -#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) void setAllowedNextProtocols(const QList &protocols); -#else - void setAllowedNextProtocols(QList protocols); -#endif QList allowedNextProtocols() const; QByteArray nextNegotiatedProtocol() const;