Commit df319623 authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused code

parent 374b48d1
......@@ -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()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment