Commit 1e8a17edef013e70fa0d0c20a04e713c190c0bec
Fixed sendEvent call.
The documentation states we should use the local sendEvent. Not sure
if it makes a difference, but better to be consistent.
RevBy: Trust me
| |   |
| 233 | 233 | m_preeditString = keyEvent->text(); |
| 234 | 234 | QList<QInputMethodEvent::Attribute> attributes; |
| 235 | 235 | QInputMethodEvent imEvent(m_preeditString, attributes); |
| QApplication::sendEvent(focusWidget(), &imEvent); |
| sendEvent(imEvent); |
| 237 | 237 | m_tempPreeditStringTimeout.start(1000, this); |
| 238 | 238 | m_hasTempPreeditString = true; |
| 239 | 239 | update(); |