Fix broken build
Sorry, forgot to adjust the enum naming to latest round of changes in KWayland.
This commit is contained in:
parent
f26f2fe181
commit
13adf9609f
1 changed files with 4 additions and 4 deletions
|
@ -314,13 +314,13 @@ bool VirtualKeyboard::event(QEvent *e)
|
|||
if (!contentHints.testFlag(TextInputInterface::ContentHint::AutoCapitalization)) {
|
||||
hints |= Qt::ImhNoAutoUppercase;
|
||||
}
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::Lowercase)) {
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::LowerCase)) {
|
||||
hints |= Qt::ImhPreferLowercase;
|
||||
}
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::Uppercase)) {
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::UpperCase)) {
|
||||
hints |= Qt::ImhPreferUppercase;
|
||||
}
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::Titlecase)) {
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::TitleCase)) {
|
||||
// no mapping in Qt
|
||||
}
|
||||
if (contentHints.testFlag(TextInputInterface::ContentHint::HiddenText)) {
|
||||
|
@ -356,7 +356,7 @@ bool VirtualKeyboard::event(QEvent *e)
|
|||
case TextInputInterface::ContentPurpose::Time:
|
||||
hints |= Qt::ImhTime;
|
||||
break;
|
||||
case TextInputInterface::ContentPurpose::Datetime:
|
||||
case TextInputInterface::ContentPurpose::DateTime:
|
||||
hints |= Qt::ImhDate;
|
||||
hints |= Qt::ImhTime;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue