From 8c57663ed21855ad6b888bd01785b7f4e9251ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Tue, 24 Apr 2018 10:00:03 +0200 Subject: Fix documentation of setBackendConfigurationOption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduced by mistake in f55c73ede28d4455f555a28e401407326ac9b954 Change-Id: Ieac8fc0a6bb536e5ef3770a22785fe41d4033ee9 Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Timur Pocheptsov --- src/network/ssl/qsslconfiguration.cpp | 8 ++++---- src/network/ssl/qsslconfiguration.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp index 116a6693c4..1071662d96 100644 --- a/src/network/ssl/qsslconfiguration.cpp +++ b/src/network/ssl/qsslconfiguration.cpp @@ -876,7 +876,7 @@ void QSslConfiguration::setDiffieHellmanParameters(const QSslDiffieHellmanParame Returns the backend-specific configuration. - Only options set by addBackendConfiguration() or setBackendConfiguration() will be + Only options set by setBackendConfigurationOption() or setBackendConfiguration() will be returned. The internal standard configuration of the backend is not reported. \sa setBackendConfigurationOption(), setBackendConfiguration() @@ -916,13 +916,13 @@ void QSslConfiguration::setBackendConfigurationOption(const QByteArray &name, co Without a \a backendConfiguration parameter this function will clear the backend-specific configuration. More information about the supported - options is available in the documentation of addBackendConfiguration(). + options is available in the documentation of setBackendConfigurationOption(). \sa backendConfiguration(), setBackendConfigurationOption() */ -void QSslConfiguration::setBackendConfiguration(const QMap &backendConfig) +void QSslConfiguration::setBackendConfiguration(const QMap &backendConfiguration) { - d->backendConfig = backendConfig; + d->backendConfig = backendConfiguration; } /*! diff --git a/src/network/ssl/qsslconfiguration.h b/src/network/ssl/qsslconfiguration.h index a5561d9828..fe4181d755 100644 --- a/src/network/ssl/qsslconfiguration.h +++ b/src/network/ssl/qsslconfiguration.h @@ -152,7 +152,7 @@ public: QMap backendConfiguration() const; void setBackendConfigurationOption(const QByteArray &name, const QVariant &value); - void setBackendConfiguration(const QMap &backendConfig = QMap()); + void setBackendConfiguration(const QMap &backendConfiguration = QMap()); static QSslConfiguration defaultConfiguration(); static void setDefaultConfiguration(const QSslConfiguration &configuration); -- cgit v1.2.3