aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfigwatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kconfigwatcher.h')
-rw-r--r--src/core/kconfigwatcher.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/kconfigwatcher.h b/src/core/kconfigwatcher.h
index 3a446d8e..00c0fab5 100644
--- a/src/core/kconfigwatcher.h
+++ b/src/core/kconfigwatcher.h
@@ -49,6 +49,8 @@ public:
*/
static Ptr create(const KSharedConfig::Ptr &config);
+ ~KConfigWatcher() override;
+
Q_SIGNALS:
/**
* Emitted when a config group has changed
@@ -65,7 +67,7 @@ private Q_SLOTS:
private:
KConfigWatcher(const KSharedConfig::Ptr &config);
Q_DISABLE_COPY(KConfigWatcher)
- KConfigWatcherPrivate *const d;
+ const QScopedPointer<KConfigWatcherPrivate> d;
};
#endif