aboutsummaryrefslogtreecommitdiff
path: root/src/core/kauthorized.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kauthorized.cpp')
-rw-r--r--src/core/kauthorized.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kauthorized.cpp b/src/core/kauthorized.cpp
index a8784a1c..3c0941d5 100644
--- a/src/core/kauthorized.cpp
+++ b/src/core/kauthorized.cpp
@@ -378,7 +378,7 @@ authorizeUrlActionInternal(const QString &action, const QUrl &_baseURL, const QU
QUrl destURL(_destURL);
destURL.setPath(QDir::cleanPath(destURL.path()));
- for (const URLActionRule &rule : qAsConst(d->urlActionRestrictions)) {
+ for (const URLActionRule &rule : std::as_const(d->urlActionRestrictions)) {
if ((result != rule.permission) && // No need to check if it doesn't make a difference
(action == QLatin1String(rule.action.constData())) && rule.baseMatch(baseURL, baseClass)
&& rule.destMatch(destURL, destClass, baseURL, baseClass)) {