diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-04-29 07:11:02 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-04-29 07:34:57 (GMT) |
commit | e24b4b83fa4e71ab137ac254a9c69fec672d5e66 (patch) | |
tree | 744a4c062a643c4453267566675fc72504f2e8b5 /examples/graphicsview | |
parent | e393f03cb89c795e4a638f84b002cb16fd1613a7 (diff) | |
download | Qt-e24b4b83fa4e71ab137ac254a9c69fec672d5e66.zip Qt-e24b4b83fa4e71ab137ac254a9c69fec672d5e66.tar.gz Qt-e24b4b83fa4e71ab137ac254a9c69fec672d5e66.tar.bz2 |
Ensured that WA_InputMethodEnabled was set before FocusInEvent was sent.
When focusInEvent is called we need to ensure that WA_InputMethodEnabled
is set, since FocusInEvent might lead to that
QInputContext::setFocusWidget is called (with the QGraphicsView as the
widget parameter).
However, if the widget still does not have WA_InputMethodEnabled set
yet it will assert in QInputContext::setFocusWidget (it requires that
the widget has the flag set).
This was a problem for the morbit bridge, where Dui requires the
attribute to be set (while Orbit actually does not require)
Task-number: QTBUG-10276
Reviewed-by: jasplin
Reviewed-by: Alexis Menard
Diffstat (limited to 'examples/graphicsview')
0 files changed, 0 insertions, 0 deletions