Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
d58ef302
Commit
d58ef302
authored
May 15, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Q_UNUSED
parent
26337166
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
...interceptor/donottrack/donottrackinterceptorinterface.cpp
+2
-0
No files found.
plugins/webengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
View file @
d58ef302
...
...
@@ -36,6 +36,8 @@ bool DoNotTrackInterceptorInterface::interceptRequest(QWebEngineUrlRequestInfo &
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
//Laurent Comment it for the moment workaround a bug for QtWebEngine
info
.
setHttpHeader
(
QByteArrayLiteral
(
"DNT"
),
QByteArrayLiteral
(
"1"
));
#else
Q_UNUSED
(
info
);
#endif
}
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment