[Qt][WK2] Commit the preedit string in the input method when focus is about to be...