From cad4889e490f4376849744ec6ab3c84c71807706 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 1 Apr 2019 10:28:02 +0200 Subject: Add Notify capability to revertToDefault This enables KConfigWatcher to detect those changes, too. Differential Revision: https://phabricator.kde.org/D20039 --- src/core/kconfig_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/kconfig_p.h') diff --git a/src/core/kconfig_p.h b/src/core/kconfig_p.h index 7433ab2f..ac4cd631 100644 --- a/src/core/kconfig_p.h +++ b/src/core/kconfig_p.h @@ -50,7 +50,8 @@ public: void putData(const QByteArray &group, const char *key, const QByteArray &value, KConfigBase::WriteConfigFlags flags, bool expand = false); - void revertEntry(const QByteArray &group, const char *key); + void revertEntry(const QByteArray &group, const char *key, + KConfigBase::WriteConfigFlags flags); QStringList groupList(const QByteArray &group) const; // copies the entries from @p source to @p otherGroup changing all occurrences // of @p source with @p destination -- cgit v1.2.1