diff options
author | axis <qt-info@nokia.com> | 2010-08-27 08:31:39 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-09-01 12:58:22 (GMT) |
commit | c5901037f0d3ccd45b0c79b38ef5b04552dad0aa (patch) | |
tree | 842c6b73755ffef959c9dbf0847a61aa83f71cf4 /src/gui/widgets | |
parent | 51f8b65b585a198a62daa4403374441b667966ce (diff) | |
download | Qt-c5901037f0d3ccd45b0c79b38ef5b04552dad0aa.zip Qt-c5901037f0d3ccd45b0c79b38ef5b04552dad0aa.tar.gz Qt-c5901037f0d3ccd45b0c79b38ef5b04552dad0aa.tar.bz2 |
Revert "Long-press shortcuts for symbols on QWERTY keyboard don't work"
This reverts commit 05eacd9ad40f8adb5aaa12a8b90113a73b43f642.
Conflicts:
src/gui/inputmethod/qcoefepinputcontext_p.h
src/gui/inputmethod/qcoefepinputcontext_s60.cpp
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/qlinecontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qlinecontrol.cpp b/src/gui/widgets/qlinecontrol.cpp index d027b91..b6dfd13 100644 --- a/src/gui/widgets/qlinecontrol.cpp +++ b/src/gui/widgets/qlinecontrol.cpp @@ -419,7 +419,7 @@ void QLineControl::processInputMethodEvent(QInputMethodEvent *event) int c = m_cursor; // cursor position after insertion of commit string - if (event->replacementStart() == 0) + if (event->replacementStart() <= 0) c += event->commitString().length() + qMin(-event->replacementStart(), event->replacementLength()); m_cursor += event->replacementStart(); |