From 673da7d4607cd5597b3c58f8c118459efdcaaeb3 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Wed, 23 Sep 2020 14:56:06 +0200 Subject: [PATCH] QSslConfiguration::setAllowedNextProtocol - remove the old signature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0b4b18e6ea2b78917220e77865fd92eb7a684179 Reviewed-by: MÃ¥rten Nordheim --- src/network/ssl/qsslconfiguration.cpp | 4 ---- src/network/ssl/qsslconfiguration.h | 4 ---- 2 files changed, 8 deletions(-) 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;