diff options
author | axis <qt-info@nokia.com> | 2010-02-05 12:51:28 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-02-05 12:51:28 (GMT) |
commit | 1e8a17edef013e70fa0d0c20a04e713c190c0bec (patch) | |
tree | 73239a4ffe649e3958a8c45b28edf4da4c8a66ed /src/gui | |
parent | e3237deee07ec6961b905800d29b1a80f0f63595 (diff) | |
download | Qt-1e8a17edef013e70fa0d0c20a04e713c190c0bec.zip Qt-1e8a17edef013e70fa0d0c20a04e713c190c0bec.tar.gz Qt-1e8a17edef013e70fa0d0c20a04e713c190c0bec.tar.bz2 |
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
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index 56b79f4..41481d0 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -233,7 +233,7 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event) m_preeditString = keyEvent->text(); QList<QInputMethodEvent::Attribute> attributes; QInputMethodEvent imEvent(m_preeditString, attributes); - QApplication::sendEvent(focusWidget(), &imEvent); + sendEvent(imEvent); m_tempPreeditStringTimeout.start(1000, this); m_hasTempPreeditString = true; update(); |