Commit 199f3ef4 authored by Laurent Montel's avatar Laurent Montel 😁

Remove todo

parent f913bfae
......@@ -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) {
......
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