summaryrefslogtreecommitdiffstats
path: root/konq-plugins/adblock/adblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/adblock/adblock.cpp')
-rw-r--r--konq-plugins/adblock/adblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konq-plugins/adblock/adblock.cpp b/konq-plugins/adblock/adblock.cpp
index 9d0fdb3..74d07cd 100644
--- a/konq-plugins/adblock/adblock.cpp
+++ b/konq-plugins/adblock/adblock.cpp
@@ -176,7 +176,7 @@ void AdBlock::fillWithImages(AdElementList &elements)
if (!url.isEmpty() && url != m_part->baseURL().url())
{
AdElement element(url, "image", "IMG", false);
- if (!elements.tqcontains( element ))
+ if (!elements.contains( element ))
elements.append( element);
}
}
@@ -203,7 +203,7 @@ void AdBlock::fillWithHtmlTag(AdElementList &elements,
if (!url.isEmpty() && url != m_part->baseURL().url())
{
AdElement element(url, tagName.string(), category, false);
- if (!elements.tqcontains( element ))
+ if (!elements.contains( element ))
elements.append( element);
}
}