Commit 1e8a17edef013e70fa0d0c20a04e713c190c0bec

  • avatar
  • axis <qt-info @no…a.com>
  • Fri Feb 05 13:51:28 CET 2010
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
  
233233 m_preeditString = keyEvent->text();
234234 QList<QInputMethodEvent::Attribute> attributes;
235235 QInputMethodEvent imEvent(m_preeditString, attributes);
236 QApplication::sendEvent(focusWidget(), &imEvent);
236 sendEvent(imEvent);
237237 m_tempPreeditStringTimeout.start(1000, this);
238238 m_hasTempPreeditString = true;
239239 update();