summaryrefslogtreecommitdiff
path: root/src/adblock/adblockelementhiding.cpp
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2013-10-03 08:51:35 +0200
committerMontel Laurent <montel@kde.org>2013-10-03 08:51:35 +0200
commit613fead12b5d5279533f11139cdc19e60cb6a6ef (patch)
tree834c9060af18cfd422ad9021ef533cbcc8425cf1 /src/adblock/adblockelementhiding.cpp
parentAllow to remove multi manual filters. Send hasChanged when necessary (diff)
downloadrekonq-613fead12b5d5279533f11139cdc19e60cb6a6ef.tar.xz
Const'ify. Don't add duplicate filter
Diffstat (limited to 'src/adblock/adblockelementhiding.cpp')
-rw-r--r--src/adblock/adblockelementhiding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adblock/adblockelementhiding.cpp b/src/adblock/adblockelementhiding.cpp
index bac693cb..d284975c 100644
--- a/src/adblock/adblockelementhiding.cpp
+++ b/src/adblock/adblockelementhiding.cpp
@@ -65,7 +65,7 @@ bool AdBlockElementHiding::addRule(const QString &rule)
return true;
}
-void AdBlockElementHiding::apply(QWebElement &document, QString domain) const
+void AdBlockElementHiding::apply(QWebElement &document, const QString &domain) const
{
//first apply generic rules