diff options
Diffstat (limited to 'src/core/kconfigwatcher.cpp')
-rw-r--r-- | src/core/kconfigwatcher.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/kconfigwatcher.cpp b/src/core/kconfigwatcher.cpp index 4d4d1355..c4a877c5 100644 --- a/src/core/kconfigwatcher.cpp +++ b/src/core/kconfigwatcher.cpp @@ -92,6 +92,11 @@ KConfigWatcher::KConfigWatcher(const KSharedConfig::Ptr &config): KConfigWatcher::~KConfigWatcher() = default; +KSharedConfig::Ptr KConfigWatcher::config() const +{ + return d->m_config; +} + void KConfigWatcher::onConfigChangeNotification(const QHash<QString, QByteArrayList> &changes) { //should we ever need it we can determine the file changed with QDbusContext::message().path(), but it doesn't seem too useful |