diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-10-23 14:45:15 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-10-23 15:56:45 +0000 |
commit | f174d31667dca184439f520b9624a1471d9556a6 (patch) | |
tree | adc658ce5c6fd35a06b2496e1dab9ca4f47dca9d | |
parent | c181f418b9dd72e25ceff8ee7ccb030aa74f1cef (diff) |
-rw-r--r-- | src/network/access/qhstsstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhstsstore.cpp b/src/network/access/qhstsstore.cpp index 239a52b7a4..6d7f60ba8d 100644 --- a/src/network/access/qhstsstore.cpp +++ b/src/network/access/qhstsstore.cpp @@ -114,7 +114,7 @@ void QHstsStore::synchronize() if (observedPolicies.size()) { beginHstsGroups(); - for (const QHstsPolicy &policy : observedPolicies) { + for (const QHstsPolicy &policy : qAsConst(observedPolicies)) { const QString key(host_name_to_settings_key(policy.host())); // If we fail to write a new, updated policy, we also remove the old one. if (policy.isExpired() || !serializePolicy(key, policy)) |