diff options
Diffstat (limited to 'src/webengine/urlinterceptor.cpp')
-rw-r--r-- | src/webengine/urlinterceptor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/webengine/urlinterceptor.cpp b/src/webengine/urlinterceptor.cpp index 5e17e78..815018b 100644 --- a/src/webengine/urlinterceptor.cpp +++ b/src/webengine/urlinterceptor.cpp @@ -75,13 +75,13 @@ QHash<QString, UrlRequestInterceptor::HostRule> parse(const QString &filename) } } -// for(const QString &host : parts.mid(1)) { -// if(!rules.contains(host)) { -// UrlRequestInterceptor::HostRule rule{}; -// rule.isBlocking = redirect == "0.0.0.0"; -// rules.insert(host, rule); -// } -// } + // for(const QString &host : parts.mid(1)) { + // if(!rules.contains(host)) { + // UrlRequestInterceptor::HostRule rule{}; + // rule.isBlocking = redirect == "0.0.0.0"; + // rules.insert(host, rule); + // } + // } } hostfile.close(); |