diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-22 19:37:31 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-22 19:37:31 +0200 |
commit | 657e13760365aad3ab358b237060bf2356fc4a80 (patch) | |
tree | 339d530885a32fade0b9c4f77a9683111b00796c /src/webengine/urlinterceptor.cpp | |
parent | Plugin commands no longer require --command (diff) | |
download | smolbote-657e13760365aad3ab358b237060bf2356fc4a80.tar.xz |
clang-format pass
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(); |