summaryrefslogtreecommitdiff
path: root/inputmethods
Side-by-side diff
Diffstat (limited to 'inputmethods') (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index 9576579..10bc611 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -306,5 +306,5 @@ void ConfigDlg::keyColorClicked() {
config.write();
- keycolor_button->setBackgroundColor(newcolor);
+ keycolor_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
}
@@ -325,5 +325,5 @@ void ConfigDlg::keyColorPressedClicked() {
config.write();
- keycolor_pressed_button->setBackgroundColor(newcolor);
+ keycolor_pressed_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
}
@@ -344,5 +344,5 @@ void ConfigDlg::keyColorLinesClicked() {
config.write();
- keycolor_lines_button->setBackgroundColor(newcolor);
+ keycolor_lines_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
}
@@ -363,5 +363,5 @@ void ConfigDlg::textColorClicked() {
config.write();
- textcolor_button->setBackgroundColor(newcolor);
+ textcolor_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
}