QSslConfiguration::setAllowedNextProtocol - remove the old signature

Change-Id: I0b4b18e6ea2b78917220e77865fd92eb7a684179
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
bb10
Timur Pocheptsov 2020-09-23 14:56:06 +02:00
parent a6e1f67937
commit 673da7d460
2 changed files with 0 additions and 8 deletions

View File

@ -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<QByteArray> &protocols)
#else
void QSslConfiguration::setAllowedNextProtocols(QList<QByteArray> protocols)
#endif
{
d->nextAllowedProtocols = protocols;
}

View File

@ -189,11 +189,7 @@ public:
NextProtocolNegotiationUnsupported
};
#if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
void setAllowedNextProtocols(const QList<QByteArray> &protocols);
#else
void setAllowedNextProtocols(QList<QByteArray> protocols);
#endif
QList<QByteArray> allowedNextProtocols() const;
QByteArray nextNegotiatedProtocol() const;