Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PIM Messagelib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
PIM Messagelib
Commits
df319623
Commit
df319623
authored
Mar 30, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
parent
374b48d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
messageviewer/src/webengine/loadexternalreferencesurlinterceptor/loadexternalreferencesurlinterceptor.cpp
...esurlinterceptor/loadexternalreferencesurlinterceptor.cpp
+0
-6
No files found.
messageviewer/src/webengine/loadexternalreferencesurlinterceptor/loadexternalreferencesurlinterceptor.cpp
View file @
df319623
...
...
@@ -46,12 +46,6 @@ LoadExternalReferencesUrlInterceptor::~LoadExternalReferencesUrlInterceptor()
bool
LoadExternalReferencesUrlInterceptor
::
interceptRequest
(
QWebEngineUrlRequestInfo
&
info
)
{
/*
if (info.navigationType() == QWebEngineUrlRequestInfo::NavigationTypeLink) {
return true;
}
*/
if
(
!
d
->
mAllowLoadExternalReference
)
{
//TODO add more resource type
if
(
info
.
resourceType
()
==
QWebEngineUrlRequestInfo
::
ResourceTypeImage
&&
!
info
.
requestUrl
().
isLocalFile
())
{
...
...
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