diff options
-rw-r--r-- | src/core/kconfigwatcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/kconfigwatcher.cpp b/src/core/kconfigwatcher.cpp index ec3cb541..ae5d8849 100644 --- a/src/core/kconfigwatcher.cpp +++ b/src/core/kconfigwatcher.cpp @@ -49,13 +49,13 @@ KConfigWatcher::KConfigWatcher(const KSharedConfig::Ptr &config) , d(new KConfigWatcherPrivate) { Q_ASSERT(config); + d->m_config = config; + #if KCONFIG_USE_DBUS qDBusRegisterMetaType<QByteArrayList>(); qDBusRegisterMetaType<QHash<QString, QByteArrayList>>(); - d->m_config = config; - QStringList watchedPaths; watchedPaths << QLatin1Char('/') + d->m_config->name(); const auto cfgSources = d->m_config->additionalConfigSources(); |