1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Const'ref

This commit is contained in:
Laurent Montel 2022-06-22 07:51:49 +02:00
parent 271c5f8a6b
commit 54e8e80cc3

View File

@ -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;
}