Skip to content

Commit

Permalink
Fix documentation of setBackendConfigurationOption
Browse files Browse the repository at this point in the history
Introduced by mistake in f55c73e

Change-Id: Ieac8fc0a6bb536e5ef3770a22785fe41d4033ee9
Reviewed-by: Mårten Nordheim <[email protected]>
Reviewed-by: Timur Pocheptsov <[email protected]>
  • Loading branch information
misery authored and jaheikk committed Apr 25, 2018
1 parent cf20459 commit 8c57663
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/network/ssl/qsslconfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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<QByteArray, QVariant> &backendConfig)
void QSslConfiguration::setBackendConfiguration(const QMap<QByteArray, QVariant> &backendConfiguration)
{
d->backendConfig = backendConfig;
d->backendConfig = backendConfiguration;
}

/*!
Expand Down
2 changes: 1 addition & 1 deletion src/network/ssl/qsslconfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Q_NETWORK_EXPORT QSslConfiguration

QMap<QByteArray, QVariant> backendConfiguration() const;
void setBackendConfigurationOption(const QByteArray &name, const QVariant &value);
void setBackendConfiguration(const QMap<QByteArray, QVariant> &backendConfig = QMap<QByteArray, QVariant>());
void setBackendConfiguration(const QMap<QByteArray, QVariant> &backendConfiguration = QMap<QByteArray, QVariant>());

static QSslConfiguration defaultConfiguration();
static void setDefaultConfiguration(const QSslConfiguration &configuration);
Expand Down

0 comments on commit 8c57663

Please sign in to comment.