diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-17 13:10:55 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-17 13:10:55 (GMT) |
commit | 124a77d258346d8d1bbffa7c42249d09433bc18f (patch) | |
tree | 308d8aa97e30cb587b7f2d4be94b675a7ead7144 | |
parent | a2ec72ee604181892050093669b870580708842d (diff) | |
download | Qt-124a77d258346d8d1bbffa7c42249d09433bc18f.zip Qt-124a77d258346d8d1bbffa7c42249d09433bc18f.tar.gz Qt-124a77d258346d8d1bbffa7c42249d09433bc18f.tar.bz2 |
Fixed QCoeFepInputContext::widgetDestroyed
Calling SetFocus twice here was obsolete and caused intermittent panics.
Replaced them with proper queueInputCapabilitiesChanged call.
Task-number: QTBUG-6519
Reviewed-by: axis
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index a295d66..1bf7662 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -139,8 +139,7 @@ void QCoeFepInputContext::widgetDestroyed(QWidget *w) // Make sure that the input capabilities of whatever new widget got focused are queried. CCoeControl *ctrl = w->effectiveWinId(); if (ctrl->IsFocused()) { - ctrl->SetFocus(false); - ctrl->SetFocus(true); + queueInputCapabilitiesChanged(); } } |