diff options
Diffstat (limited to 'kxkb/kxkbconfig.cpp')
-rw-r--r-- | kxkb/kxkbconfig.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kxkb/kxkbconfig.cpp b/kxkb/kxkbconfig.cpp index 52ba6941b..0c3dc9e0a 100644 --- a/kxkb/kxkbconfig.cpp +++ b/kxkb/kxkbconfig.cpp @@ -129,6 +129,10 @@ bool KxkbConfig::load(int loadMode) } } + config->setGroup("Notifications"); + m_enableNotify = config->readBoolEntry("Enable", false); + m_notifyUseKMilo = config->readBoolEntry("UseKMilo", true); + delete config; return true; @@ -196,6 +200,10 @@ void KxkbConfig::save() config->deleteEntry("Additional"); config->deleteEntry("Layout"); + config->setGroup("Notifications"); + config->writeEntry("Enable", m_enableNotify); + config->writeEntry("UseKMilo", m_notifyUseKMilo); + config->sync(); delete config; |