diff options
author | Montel Laurent <montel@kde.org> | 2013-10-03 08:51:35 +0200 |
---|---|---|
committer | Montel Laurent <montel@kde.org> | 2013-10-03 08:51:35 +0200 |
commit | 613fead12b5d5279533f11139cdc19e60cb6a6ef (patch) | |
tree | 834c9060af18cfd422ad9021ef533cbcc8425cf1 /src/adblock/adblockelementhiding.cpp | |
parent | Allow to remove multi manual filters. Send hasChanged when necessary (diff) | |
download | rekonq-613fead12b5d5279533f11139cdc19e60cb6a6ef.tar.xz |
Const'ify. Don't add duplicate filter
Diffstat (limited to 'src/adblock/adblockelementhiding.cpp')
-rw-r--r-- | src/adblock/adblockelementhiding.cpp | 2 |
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 |