aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfigwatcher.cpp
diff options
context:
space:
mode:
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 1aec1211..4d4d1355 100644
--- a/src/core/kconfigwatcher.cpp
+++ b/src/core/kconfigwatcher.cpp
@@ -70,7 +70,7 @@ KConfigWatcher::KConfigWatcher(const KSharedConfig::Ptr &config):
QStringList watchedPaths;
watchedPaths << QLatin1Char('/') + d->m_config->name();
- for (const QString file: d->m_config->additionalConfigSources()) {
+ for (const QString &file: d->m_config->additionalConfigSources()) {
watchedPaths << QLatin1Char('/') + file;
}
if (d->m_config->openFlags() & KConfig::IncludeGlobals) {