mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Const'ref
This commit is contained in:
parent
271c5f8a6b
commit
54e8e80cc3
@ -607,7 +607,7 @@ void AdBlockRule::parseDomains(const QString &domains, const QChar &separator)
|
|||||||
{
|
{
|
||||||
const QStringList domainsList = domains.split(separator, Qt::SkipEmptyParts);
|
const QStringList domainsList = domains.split(separator, Qt::SkipEmptyParts);
|
||||||
|
|
||||||
for (const QString domain : domainsList) {
|
for (const QString &domain : domainsList) {
|
||||||
if (domain.isEmpty()) {
|
if (domain.isEmpty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user