summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-08-31 09:21:15 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-08-31 09:21:15 (GMT)
commit3d23d79ce125f596333bc00236085eccfcbd9537 (patch)
tree2ef3edf283956bb8c58da40fea92a1397eb963a7 /src/gui/inputmethod
parent91096126440aafba22aeb9307cb72135b3156a4c (diff)
downloadQt-3d23d79ce125f596333bc00236085eccfcbd9537.zip
Qt-3d23d79ce125f596333bc00236085eccfcbd9537.tar.gz
Qt-3d23d79ce125f596333bc00236085eccfcbd9537.tar.bz2
If automatic translation of input widget is off, skip reset
If there is an existing transformataion in use and application has indicated that it won't use automatic translation of input widget when using spliview, do not reset the transformation as this will also remove the original transformation. Task-number: QT-5225 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index c3d293b..c656418 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -473,7 +473,7 @@ void QCoeFepInputContext::resetSplitViewWidget(bool keepInputWidget)
windowToMove->setUpdatesEnabled(false);
if (!alwaysResize) {
- if (gv->scene()) {
+ if (gv->scene() && S60->partial_keyboardAutoTranslation) {
if (gv->scene()->focusItem()) {
// Check if the widget contains cursorPositionChanged signal and disconnect from it.
QByteArray signal = QMetaObject::normalizedSignature(SIGNAL(cursorPositionChanged()));