diff --git a/src/wayland/inputmethod_v1_interface.cpp b/src/wayland/inputmethod_v1_interface.cpp index 715b9ed3e2..4d589e1921 100644 --- a/src/wayland/inputmethod_v1_interface.cpp +++ b/src/wayland/inputmethod_v1_interface.cpp @@ -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;