Commit 331c11cf authored by Laurent Montel's avatar Laurent Montel 😁

Port to for(...:...)

parent 771df040
......@@ -701,7 +701,7 @@ bool AdBlockRule::isMatchingRegExpStrings(const QString &url) const
{
Q_ASSERT(m_regExp);
foreach (const QStringMatcher &matcher, m_regExp->matchers) {
for (const QStringMatcher &matcher : qAsConst(m_regExp->matchers)) {
if (matcher.indexIn(url) == -1) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment