diff --git a/src/lib/adblock/adblockrule.cpp b/src/lib/adblock/adblockrule.cpp index 59e24d18e..10ceac2f6 100644 --- a/src/lib/adblock/adblockrule.cpp +++ b/src/lib/adblock/adblockrule.cpp @@ -607,7 +607,7 @@ void AdBlockRule::parseDomains(const QString &domains, const QChar &separator) { const QStringList domainsList = domains.split(separator, Qt::SkipEmptyParts); - for (const QString domain : domainsList) { + for (const QString &domain : domainsList) { if (domain.isEmpty()) { continue; }