-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index 3e43978..d0cfa51 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp | |||
@@ -467,13 +467,14 @@ void Keyboard::resetState() | |||
467 | * | 467 | * |
468 | * TODO | 468 | * TODO |
469 | * one major problem with this implementation is that you can't move the | 469 | * one major problem with this implementation is that you can't move the |
470 | * cursor after inputing korean chars, otherwise it will eat up and replace | 470 | * cursor after inputing korean chars, otherwise it will eat up and replace |
471 | * the char before the cursor you move to. fix that | 471 | * the char before the cursor you move to. fix that |
472 | * | 472 | * |
473 | * make a kor/eng swaping key | 473 | * make backspace delete one single char, not the whole thing if still |
474 | * editing. | ||
474 | * | 475 | * |
475 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 476 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
476 | * | 477 | * |
477 | * how korean input works | 478 | * how korean input works |
478 | * | 479 | * |
479 | * all following chars means unicode char value and are in hex | 480 | * all following chars means unicode char value and are in hex |
@@ -767,14 +768,13 @@ ushort Keyboard::constoe(const ushort c) { | |||
767 | // Keys::Keys {{{1 | 768 | // Keys::Keys {{{1 |
768 | 769 | ||
769 | Keys::Keys() { | 770 | Keys::Keys() { |
770 | 771 | ||
771 | Config config("locale"); | 772 | Config config("locale"); |
772 | config.setGroup( "Language" ); | 773 | config.setGroup( "Language" ); |
773 | QString l = config.readEntry( "Language" ); | 774 | QString l = config.readEntry( "Language" , "en" ); |
774 | if(l.isEmpty()) l = "en"; | ||
775 | 775 | ||
776 | QString key_map = QPEApplication::qpeDir() + "/share/multikey/" | 776 | QString key_map = QPEApplication::qpeDir() + "/share/multikey/" |
777 | + /* l // testing korean for now */ | 777 | + /* l // testing korean for now */ |
778 | + "ko.keymap"; | 778 | + "ko.keymap"; |
779 | 779 | ||
780 | setKeysFromFile(key_map); | 780 | setKeysFromFile(key_map); |