Commit 75ba7fdc authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

inputmethod: Make sure to test AutoCompletion

We were doing AutoCapitalization twice, I imagine it was a copy&paste
situation.
parent 7e80c54d
......@@ -162,8 +162,8 @@ void InputMethodContextV1Interface::sendContentType(TextInputContentHints hint,
if (hint.testFlag(TextInputContentHint::AutoCorrection)) {
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_correction;
}
if (hint.testFlag(TextInputContentHint::AutoCapitalization)) {
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_capitalization;
if (hint.testFlag(TextInputContentHint::AutoCompletion)) {
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_auto_completion;
}
if (hint.testFlag(TextInputContentHint::LowerCase)) {
contentHint |= QtWaylandServer::zwp_text_input_v1::content_hint_lowercase;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment