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
wilder
David Edmundson 8 years ago
parent 1733ba8657
commit 8e07fa608a
  1. 2
      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;

Loading…
Cancel
Save