aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfigwatcher.cpp
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2021-08-28 18:05:30 +0200
committerLaurent Montel <montel@kde.org>2021-08-28 18:05:30 +0200
commitdffdff73fa98a4fdebca38fb4a41938541ffb1c1 (patch)
tree7f1c9fb2c402eef2b7ecc90ec9d31cc506160b1e /src/core/kconfigwatcher.cpp
parent3259a6e6530cb0526bf71733ba28015f481f056e (diff)
downloadkconfig-dffdff73fa98a4fdebca38fb4a41938541ffb1c1.tar.gz
kconfig-dffdff73fa98a4fdebca38fb4a41938541ffb1c1.tar.bz2
GIT_SILENT: we can use std::as_const directly
Diffstat (limited to 'src/core/kconfigwatcher.cpp')
-rw-r--r--src/core/kconfigwatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kconfigwatcher.cpp b/src/core/kconfigwatcher.cpp
index 3da2d535..ec3cb541 100644
--- a/src/core/kconfigwatcher.cpp
+++ b/src/core/kconfigwatcher.cpp
@@ -66,7 +66,7 @@ KConfigWatcher::KConfigWatcher(const KSharedConfig::Ptr &config)
watchedPaths << QStringLiteral("/kdeglobals");
}
- for (const QString &path : qAsConst(watchedPaths)) {
+ for (const QString &path : std::as_const(watchedPaths)) {
QDBusConnection::sessionBus().connect(QString(),
path,
QStringLiteral("org.kde.kconfig.notify"),