Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
df6670f7
Commit
df6670f7
authored
Mar 14, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Astyle kdelibs
parent
85b9dfdc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
plugins/messageviewerwebengineurlinterceptor/adblock/lib/adblocksubscription.cpp
...bengineurlinterceptor/adblock/lib/adblocksubscription.cpp
+1
-1
plugins/messageviewerwebengineurlinterceptor/donottrack/autotests/donottrackpluginurlinterceptortest.cpp
...nottrack/autotests/donottrackpluginurlinterceptortest.cpp
+0
-1
plugins/messageviewerwebengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
...interceptor/donottrack/donottrackinterceptorinterface.cpp
+2
-1
No files found.
plugins/messageviewerwebengineurlinterceptor/adblock/lib/adblocksubscription.cpp
View file @
df6670f7
...
...
@@ -330,7 +330,7 @@ AdBlockCustomList::AdBlockCustomList(QObject *parent)
void
AdBlockCustomList
::
loadSubscription
(
const
QStringList
&
disabledRules
)
{
#if 0
#if 0
// DuckDuckGo ad whitelist rules
// They cannot be removed, but can be disabled.
// Please consider not disabling them. Thanks!
...
...
plugins/messageviewerwebengineurlinterceptor/donottrack/autotests/donottrackpluginurlinterceptortest.cpp
View file @
df6670f7
...
...
@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "donottrackpluginurlinterceptortest.h"
#include "../donottrackpluginurlinterceptor.h"
#include <QTest>
...
...
plugins/messageviewerwebengineurlinterceptor/donottrack/donottrackinterceptorinterface.cpp
View file @
df6670f7
...
...
@@ -31,6 +31,7 @@ DoNotTrackInterceptorInterface::~DoNotTrackInterceptorInterface()
void
DoNotTrackInterceptorInterface
::
interceptRequest
(
QWebEngineUrlRequestInfo
&
info
)
{
if
(
DoNotTrackSettings
::
doNotTrack
())
if
(
DoNotTrackSettings
::
doNotTrack
())
{
info
.
setHttpHeader
(
QByteArrayLiteral
(
"DNT"
),
QByteArrayLiteral
(
"1"
));
}
}
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