From 2f68c5427c4a1643018b9a41bff2c83e50c5a03f Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Sat, 7 Nov 2020 14:54:36 +0100 Subject: Fix KConfigGroup::copyTo with KConfigBase::Notify Without this, bNotify was not set on copies, making Notify a noop. CCBUG: 428771 --- src/core/kconfig.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/kconfig.cpp') diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index 92c05bae..f9257632 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -162,6 +162,10 @@ void KConfigPrivate::copyGroup(const QByteArray &source, const QByteArray &desti entry.bGlobal = true; } + if (flags & KConfigBase::Notify) { + entry.bNotify = true; + } + otherMap[newKey] = entry; } -- cgit v1.2.1