summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebengineurlrequestinfo.cpp
diff options
context:
space:
mode:
authorMichael Bruning <michael.bruning@theqtcompany.com>2015-11-24 17:46:25 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-12-02 13:29:13 +0000
commit06731a33c0e5fe764548cb3f2b9d1c215cd49404 (patch)
tree08304adbe723a7bf036265c74aa5f134f6555b6d /src/core/api/qwebengineurlrequestinfo.cpp
parente2e61521969932c8b9f1afe13979f21ecf2a5399 (diff)
Rename setExtraHeader to setHttpHeader in QWebEngineUrlRequestInfo.
Also make a small update to the documentation of the method. Change-Id: Ie19578ffccfd30c884cdfe882dffcdae6637e8e2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/core/api/qwebengineurlrequestinfo.cpp')
-rw-r--r--src/core/api/qwebengineurlrequestinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo.cpp b/src/core/api/qwebengineurlrequestinfo.cpp
index 0aab4aa1b..c6b85ddb0 100644
--- a/src/core/api/qwebengineurlrequestinfo.cpp
+++ b/src/core/api/qwebengineurlrequestinfo.cpp
@@ -274,10 +274,10 @@ void QWebEngineUrlRequestInfo::block(bool shouldBlock)
}
/*!
- Sets an extra request header for this request with \a name and \a value.
+ Sets the request header \a name to \a value for this request.
*/
-void QWebEngineUrlRequestInfo::setExtraHeader(const QByteArray &name, const QByteArray &value)
+void QWebEngineUrlRequestInfo::setHttpHeader(const QByteArray &name, const QByteArray &value)
{
Q_D(QWebEngineUrlRequestInfo);
d->changed = true;