summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore 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
@@ -307,3 +307,3 @@ void ConfigDlg::keyColorClicked() {
- keycolor_button->setBackgroundColor(newcolor);
+ keycolor_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
@@ -326,3 +326,3 @@ void ConfigDlg::keyColorPressedClicked() {
- keycolor_pressed_button->setBackgroundColor(newcolor);
+ keycolor_pressed_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
@@ -345,3 +345,3 @@ void ConfigDlg::keyColorLinesClicked() {
- keycolor_lines_button->setBackgroundColor(newcolor);
+ keycolor_lines_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();
@@ -364,3 +364,3 @@ void ConfigDlg::textColorClicked() {
- textcolor_button->setBackgroundColor(newcolor);
+ textcolor_button->setPalette(QPalette(newcolor));
emit reloadKeyboard();