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

cookiejar: port foreach -> range-based for

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
Juraj Oravec 2019-12-30 17:50:26 +01:00
parent def38a2da4
commit 169f7cba65
No known key found for this signature in database
GPG Key ID: 63ACB65056BC8D07

View File

@ -110,7 +110,7 @@ bool CookieJar::matchDomain(QString cookieDomain, QString siteDomain) const
bool CookieJar::listMatchesDomain(const QStringList &list, const QString &cookieDomain) const
{
foreach (const QString &d, list) {
for (const QString &d : list) {
if (matchDomain(d, cookieDomain)) {
return true;
}