diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-17 15:10:55 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-17 15:10:55 +0200 |
commit | 124a77d258346d8d1bbffa7c42249d09433bc18f (patch) | |
tree | 308d8aa97e30cb587b7f2d4be94b675a7ead7144 /src/gui/inputmethod/qcoefepinputcontext_s60.cpp | |
parent | a2ec72ee604181892050093669b870580708842d (diff) | |
download | qt4-tools-124a77d258346d8d1bbffa7c42249d09433bc18f.tar.gz |
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
Diffstat (limited to 'src/gui/inputmethod/qcoefepinputcontext_s60.cpp')
-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 a295d662db..1bf76624e4 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(); } } |