summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-06-06 12:37:26 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-06-06 12:37:26 (GMT)
commit46c8a0e19715f40a5b5facbaaaa2fa52cf1d354e (patch)
treedc9754fe6fdb808bd10e3116272bb18dc7ed6d43
parentcc864a94d296126f4a17b474a7e0fe27cc4ccd80 (diff)
downloadQt-46c8a0e19715f40a5b5facbaaaa2fa52cf1d354e.zip
Qt-46c8a0e19715f40a5b5facbaaaa2fa52cf1d354e.tar.gz
Qt-46c8a0e19715f40a5b5facbaaaa2fa52cf1d354e.tar.bz2
Horizontal lines appearing under entered characters
Here, input context uses text formatting from S60 side, unless native side is indicating that it won't make any changes to the text (i.e. no special formatting). In that case, the input context fetches pre-edit text format from Qt side (dashed underline). Unfortunately, it is only applied to a single character at most and therefore, really easily gets mixed up with "underlined text", which in most cases is the S60 uncommitted predictive text. Task-number: QT-5046 Reviewed-by: Miikka Heikkinen
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index daa448b..10e7e44 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -826,13 +826,6 @@ void QCoeFepInputContext::applyFormat(QList<QInputMethodEvent::Attribute> *attri
}
}
- if (attributes->size() == oldSize) {
- // S60 didn't provide any format, so let's give our own instead.
- attributes->append(QInputMethodEvent::Attribute(QInputMethodEvent::TextFormat,
- 0,
- m_preeditString.size(),
- standardFormat(PreeditFormat)));
- }
}
void QCoeFepInputContext::queueInputCapabilitiesChanged()