aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/formats/adblockrule_parse.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-12-21 14:55:18 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-12-21 14:55:18 +0100
commit380c05028306680972f848808da17d9e6f55635e (patch)
tree985e7c2e732dc12df56f67633ad29b13c34359ae /lib/urlfilter/formats/adblockrule_parse.cpp
parentAdd ContentsMatcher class (diff)
downloadsmolbote-380c05028306680972f848808da17d9e6f55635e.tar.xz
Add adblocklist class
Diffstat (limited to 'lib/urlfilter/formats/adblockrule_parse.cpp')
-rw-r--r--lib/urlfilter/formats/adblockrule_parse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urlfilter/formats/adblockrule_parse.cpp b/lib/urlfilter/formats/adblockrule_parse.cpp
index 927a6a3..c01ddfd 100644
--- a/lib/urlfilter/formats/adblockrule_parse.cpp
+++ b/lib/urlfilter/formats/adblockrule_parse.cpp
@@ -15,6 +15,7 @@
// QString::mid(pos, len) const - Returns a string starting at the specified position index.
// QString::chop(len) - Removes n characters from the end of the string.
// QString::remove(pos, len) - Removes n characters from the string, starting at the given position index.
+// QString::trimmed() const - Remove whitespace from start and end
AdBlockRule *parseRule_adblock(const QString &filter)
{