diff options
author | Mavridis Philippe <[email protected]> | 2023-12-21 19:35:28 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2023-12-25 17:35:38 +0200 |
commit | dcda00127ea03e99ca6253422624e2d3c2e62f3a (patch) | |
tree | 5c075a99343e39b335d7f51a168f58df8628fe0a /kxkb/kxkbconfig.cpp | |
parent | 94cec968a8bdb4c51fe68c814b1d864fe887e65e (diff) | |
download | tdebase-dcda00127ea03e99ca6253422624e2d3c2e62f3a.tar.gz tdebase-dcda00127ea03e99ca6253422624e2d3c2e62f3a.zip |
KXkb: add keyboard layout notification
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 7c724a49212a9ffdf42381d99648f15457867787)
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; |