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
PIM Messagelib
Commits
199f3ef4
Commit
199f3ef4
authored
Mar 31, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove todo
parent
f913bfae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
messageviewer/src/webengine/loadexternalreferencesurlinterceptor/loadexternalreferencesurlinterceptor.cpp
...esurlinterceptor/loadexternalreferencesurlinterceptor.cpp
+0
-1
No files found.
messageviewer/src/webengine/loadexternalreferencesurlinterceptor/loadexternalreferencesurlinterceptor.cpp
View file @
199f3ef4
...
...
@@ -47,7 +47,6 @@ LoadExternalReferencesUrlInterceptor::~LoadExternalReferencesUrlInterceptor()
bool
LoadExternalReferencesUrlInterceptor
::
interceptRequest
(
QWebEngineUrlRequestInfo
&
info
)
{
if
(
!
d
->
mAllowLoadExternalReference
)
{
//TODO add more resource type
if
(
info
.
resourceType
()
==
QWebEngineUrlRequestInfo
::
ResourceTypeImage
&&
!
info
.
requestUrl
().
isLocalFile
())
{
return
true
;
}
else
if
(
info
.
resourceType
()
==
QWebEngineUrlRequestInfo
::
ResourceTypeMedia
)
{
...
...
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