inputmethod: Make sure to test AutoCompletion
We were doing AutoCapitalization twice, I imagine it was a copy&paste situation.
This commit is contained in:
parent
7e80c54d5d
commit
75ba7fdc90
1 changed files with 2 additions and 2 deletions
|
@ -162,8 +162,8 @@ void InputMethodContextV1Interface::sendContentType(TextInputContentHints hint,
|
||||||
if (hint.testFlag(TextInputContentHint::AutoCorrection)) {
|
if (hint.testFlag(TextInputContentHint::AutoCorrection)) {
|
||||||
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_correction;
|
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_correction;
|
||||||
}
|
}
|
||||||
if (hint.testFlag(TextInputContentHint::AutoCapitalization)) {
|
if (hint.testFlag(TextInputContentHint::AutoCompletion)) {
|
||||||
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_capitalization;
|
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_completion;
|
||||||
}
|
}
|
||||||
if (hint.testFlag(TextInputContentHint::LowerCase)) {
|
if (hint.testFlag(TextInputContentHint::LowerCase)) {
|
||||||
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_lowercase;
|
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_lowercase;
|
||||||
|
|
Loading…
Reference in a new issue