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:
Gabriel de Dietrich 2012-11-12 14:46:42 +01:00 committed by The Qt Project
parent 46d302854e
commit 64da20405a

View File

@ -7907,8 +7907,8 @@ bool QWidget::event(QEvent *event)
}
}
query->accept();
break;
}
break;
case QEvent::PolishRequest:
ensurePolished();