author | hash <hash> | 2002-08-23 18:28:03 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-23 18:28:03 (UTC) |
commit | 4e1a0d708c7ff0b7b1c3ad15bcae933b76e1ae5e (patch) (unidiff) | |
tree | 95731dcac369953c863e93ba0df3c2e90abff7d3 | |
parent | 3e37e49a35b786e5da747d4e19e898fb7135533c (diff) | |
download | opie-4e1a0d708c7ff0b7b1c3ad15bcae933b76e1ae5e.zip opie-4e1a0d708c7ff0b7b1c3ad15bcae933b76e1ae5e.tar.gz opie-4e1a0d708c7ff0b7b1c3ad15bcae933b76e1ae5e.tar.bz2 |
oops, fixed bug in color buttons
-rw-r--r-- | inputmethods/multikey/configdlg.cpp | 8 |
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 | |||
@@ -305,7 +305,7 @@ void ConfigDlg::keyColorClicked() { | |||
305 | config.writeEntry("keycolor", color, QChar(',')); | 305 | config.writeEntry("keycolor", color, QChar(',')); |
306 | config.write(); | 306 | config.write(); |
307 | 307 | ||
308 | keycolor_button->setBackgroundColor(newcolor); | 308 | keycolor_button->setPalette(QPalette(newcolor)); |
309 | emit reloadKeyboard(); | 309 | emit reloadKeyboard(); |
310 | } | 310 | } |
311 | void ConfigDlg::keyColorPressedClicked() { | 311 | void ConfigDlg::keyColorPressedClicked() { |
@@ -324,7 +324,7 @@ void ConfigDlg::keyColorPressedClicked() { | |||
324 | config.writeEntry("keycolor_pressed", color, QChar(',')); | 324 | config.writeEntry("keycolor_pressed", color, QChar(',')); |
325 | config.write(); | 325 | config.write(); |
326 | 326 | ||
327 | keycolor_pressed_button->setBackgroundColor(newcolor); | 327 | keycolor_pressed_button->setPalette(QPalette(newcolor)); |
328 | emit reloadKeyboard(); | 328 | emit reloadKeyboard(); |
329 | } | 329 | } |
330 | void ConfigDlg::keyColorLinesClicked() { | 330 | void ConfigDlg::keyColorLinesClicked() { |
@@ -343,7 +343,7 @@ void ConfigDlg::keyColorLinesClicked() { | |||
343 | config.writeEntry("keycolor_lines", color, QChar(',')); | 343 | config.writeEntry("keycolor_lines", color, QChar(',')); |
344 | config.write(); | 344 | config.write(); |
345 | 345 | ||
346 | keycolor_lines_button->setBackgroundColor(newcolor); | 346 | keycolor_lines_button->setPalette(QPalette(newcolor)); |
347 | emit reloadKeyboard(); | 347 | emit reloadKeyboard(); |
348 | } | 348 | } |
349 | void ConfigDlg::textColorClicked() { | 349 | void ConfigDlg::textColorClicked() { |
@@ -362,6 +362,6 @@ void ConfigDlg::textColorClicked() { | |||
362 | config.writeEntry("textcolor", color, QChar(',')); | 362 | config.writeEntry("textcolor", color, QChar(',')); |
363 | config.write(); | 363 | config.write(); |
364 | 364 | ||
365 | textcolor_button->setBackgroundColor(newcolor); | 365 | textcolor_button->setPalette(QPalette(newcolor)); |
366 | emit reloadKeyboard(); | 366 | emit reloadKeyboard(); |
367 | } | 367 | } |