-rw-r--r-- | inputmethods/multikey/configdlg.cpp | 1 | ||||
-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp index 1e104a6..59a290b 100644 --- a/inputmethods/multikey/configdlg.cpp +++ b/inputmethods/multikey/configdlg.cpp | |||
@@ -252,8 +252,9 @@ void ConfigDlg::keyColorButtonClicked() { | |||
252 | color[1].setNum(newcolor.green()); | 252 | color[1].setNum(newcolor.green()); |
253 | color[2].setNum(newcolor.blue()); | 253 | color[2].setNum(newcolor.blue()); |
254 | 254 | ||
255 | config.writeEntry("keycolor", color, QChar(',')); | 255 | config.writeEntry("keycolor", color, QChar(',')); |
256 | config.write(); | ||
256 | 257 | ||
257 | key_color_button->setBackgroundColor(newcolor); | 258 | key_color_button->setBackgroundColor(newcolor); |
258 | emit reloadKeyboard(); | 259 | emit reloadKeyboard(); |
259 | } | 260 | } |
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index 68918a6..8280297 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp | |||
@@ -547,9 +547,9 @@ void Keyboard::setMapToFile(QString map) { | |||
547 | repaint(FALSE); | 547 | repaint(FALSE); |
548 | 548 | ||
549 | } | 549 | } |
550 | 550 | ||
551 | /* Keybaord::setColor {{{1 */ | 551 | /* Keybaord::reloadKeyboard {{{1 */ |
552 | void Keyboard::reloadKeyboard() { | 552 | void Keyboard::reloadKeyboard() { |
553 | 553 | ||
554 | // reload colors and redraw | 554 | // reload colors and redraw |
555 | loadKeyboardColors(); | 555 | loadKeyboardColors(); |