diff options
| author | Fabian Vogt <fabian@ritter-vogt.de> | 2020-11-07 14:54:36 +0100 | 
|---|---|---|
| committer | Fabian Vogt <fabian@ritter-vogt.de> | 2020-11-07 14:36:37 +0000 | 
| commit | 2f68c5427c4a1643018b9a41bff2c83e50c5a03f (patch) | |
| tree | d01ea9a795be85b11ee75849f6fc2f935fbe4e71 | |
| parent | 2c272cdddbd85b7f8388c29b6427b9f61bf11284 (diff) | |
| download | kconfig-2f68c5427c4a1643018b9a41bff2c83e50c5a03f.tar.gz kconfig-2f68c5427c4a1643018b9a41bff2c83e50c5a03f.tar.bz2 | |
Fix KConfigGroup::copyTo with KConfigBase::Notify
Without this, bNotify was not set on copies, making Notify a noop.
CCBUG: 428771
| -rw-r--r-- | src/core/kconfig.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| 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;      } | 
