diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2017-04-11 12:13:51 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2017-04-18 14:18:36 +0000 |
commit | fc2f0fb39008f95133f6fd24662fe92195431808 (patch) | |
tree | 397ff7f497abdd1fd582af418390c8df681b646f /src/network/access/qhstspolicy.cpp | |
parent | 8b62673d9f0cf8aea126b3cd2f52686f013d7fe1 (diff) |
Doc: add missing doc for parameters
qhstspolicy.cpp:105: warning: Undocumented parameter 'flags' in QHstsPolicy::QHstsPolicy()
qhstspolicy.cpp:105: warning: No such parameter 'includeSubDomains' in QHstsPolicy::QHstsPolicy()
qnetworkaccessmanager.cpp:732: warning: Undocumented parameter 'knownHosts' in QNetworkAccessManager::addStrictTransportSecurityHosts()
Change-Id: I24217d328df12febab30e19e2abd351e87007959
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/network/access/qhstspolicy.cpp')
-rw-r--r-- | src/network/access/qhstspolicy.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/access/qhstspolicy.cpp b/src/network/access/qhstspolicy.cpp index 0ea9f3f046..ab4695480b 100644 --- a/src/network/access/qhstspolicy.cpp +++ b/src/network/access/qhstspolicy.cpp @@ -103,11 +103,11 @@ QHstsPolicy::QHstsPolicy() : d(new QHstsPolicyPrivate) } /*! - Constructs QHstsPolicy with \a expiry (in UTC); \a includeSubDomains parameter - defines if this policy must also include subdomains, \a host data is interpreted - according to \a mode. + Constructs QHstsPolicy with \a expiry (in UTC): + - \a host data is interpreted according to \a mode; + - \a flags selects options to apply to this policy. - \sa QUrl::setHost(), QUrl::ParsingMode + \sa QUrl::setHost(), QUrl::ParsingMode, QHstsPolicy::PolicyFlag */ QHstsPolicy::QHstsPolicy(const QDateTime &expiry, PolicyFlags flags, const QString &host, QUrl::ParsingMode mode) |