summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-04 13:51:37 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-04 13:51:37 (GMT)
commitc8fad475f16b68ff833084047e7172feb3f045d4 (patch)
tree6536fbe16ea36a7e774e9ccb774e65658b1d370f
parent08bde69192914e31b315436237bad092bbce9eb5 (diff)
Minor
-rw-r--r--plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp b/plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
index 1558e35..7144e23 100644
--- a/plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
+++ b/plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
@@ -36,9 +36,9 @@ DoNotTrackInterceptorInterface::~DoNotTrackInterceptorInterface()
bool DoNotTrackInterceptorInterface::interceptRequest(QWebEngineUrlRequestInfo &info)
{
if (DoNotTrackSettings::doNotTrack()) {
- //Laurent Comment it for the moment workaround a bug for QtWebEngine
#ifdef BUG_FIXED
- //info.setHttpHeader(QByteArrayLiteral("DNT"), QByteArrayLiteral("1"));
+ //Laurent Comment it for the moment workaround a bug for QtWebEngine
+ info.setHttpHeader(QByteArrayLiteral("DNT"), QByteArrayLiteral("1"));
#else
Q_UNUSED(info);
#endif