summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-04-15 12:21:17 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-04-15 12:21:17 (GMT)
commit3fdf7e7a120b72819c5a0997ddb65951d4889813 (patch)
treed54680aff6fb016da0402abf7ef706ba0e9ffdd5 /src/gui/inputmethod
parenta0b2992fe166bed4020e14fca9742ca3a7c9ae9e (diff)
downloadQt-3fdf7e7a120b72819c5a0997ddb65951d4889813.zip
Qt-3fdf7e7a120b72819c5a0997ddb65951d4889813.tar.gz
Qt-3fdf7e7a120b72819c5a0997ddb65951d4889813.tar.bz2
'#' gets inserted to editor when changing FEP modes
This is regression in QCoeFepInputContext::commitCurrentString. Recent member variable removal broke the existing functionality. Fixed by removing the orphaned return-statement. Task-number: QTBUG-9867 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index 94036d0..b42e0ab 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -782,7 +782,6 @@ void QCoeFepInputContext::commitCurrentString(bool cancelFepTransaction)
if (w->inputMethodQuery(Qt::ImCursorPosition).toInt() != m_cursorPos)
longPress = 1;
}
- return;
}
QList<QInputMethodEvent::Attribute> attributes;