diff options
author | David Edmundson <kde@davidedmundson.co.uk> | 2018-10-15 16:04:58 +0100 |
---|---|---|
committer | David Edmundson <kde@davidedmundson.co.uk> | 2018-10-15 16:04:58 +0100 |
commit | 8e07fa608a4eaeec6fbaaf234e3602e609738295 (patch) | |
tree | eef0b9ee6605001d0ba43008e6cde2e7ec0d01ab | |
parent | 1733ba865794bda949a77deb092599beba42a882 (diff) | |
download | kconfig-8e07fa608a4eaeec6fbaaf234e3602e609738295.tar.gz kconfig-8e07fa608a4eaeec6fbaaf234e3602e609738295.tar.bz2 |
Fix logic error in NotifyFlag testing
Notify was changed to 0x08 | Persistent as it implied the other flag
state. However this change was not updated in the test.
Reviewed-by: Kai Uwe Broulik
-rw-r--r-- | src/core/kconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index df3ad471..bc2871c1 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -916,7 +916,7 @@ KEntryMap::EntryOptions convertToOptions(KConfig::WriteConfigFlags flags) if (flags & KConfig::Localized) { options |= KEntryMap::EntryLocalized; } - if (flags & KConfig::Notify) { + if (flags.testFlag(KConfig::Notify)) { options |= KEntryMap::EntryNotify; } return options; |