summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2010-08-04 12:12:57 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-08-04 12:12:57 (GMT)
commitbabf1ff43584b454ac24728fbf93bf291b9f36d1 (patch)
treec1d7567183d4a124fd4417a23e558d4fcef847ad /src/gui/inputmethod
parent05e8e8056824dfa56830e12a6a50ec39018df6fc (diff)
parenta6633a9cf1bb2083d0ce41f4667b3f9349a39865 (diff)
downloadQt-babf1ff43584b454ac24728fbf93bf291b9f36d1.zip
Qt-babf1ff43584b454ac24728fbf93bf291b9f36d1.tar.gz
Qt-babf1ff43584b454ac24728fbf93bf291b9f36d1.tar.bz2
Merge remote branch 'qt/master' into lighthouse-master
Conflicts: configure
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index 4cdc4ad..394d374 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -297,6 +297,10 @@ void QCoeFepInputContext::commitTemporaryPreeditString()
return;
commitCurrentString(false);
+
+ //update cursor position, now this pre-edit text has been committed.
+ //this prevents next keypress overwriting it (QTBUG-11673)
+ m_cursorPos = focusWidget()->inputMethodQuery(Qt::ImCursorPosition).toInt();
}
void QCoeFepInputContext::mouseHandler( int x, QMouseEvent *event)