QWidget: Move break statement to the right place
An InputMethodQuery event should NOT be transformed into a PolishRequest if the receiving widget has no WA_InputMethodEnabled attribute set. Change-Id: I0727c600f1eb68087cb9fbc25f6458aca5417693 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
parent
46d302854e
commit
64da20405a
@ -7907,8 +7907,8 @@ bool QWidget::event(QEvent *event)
|
||||
}
|
||||
}
|
||||
query->accept();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case QEvent::PolishRequest:
|
||||
ensurePolished();
|
||||
|
Loading…
Reference in New Issue
Block a user