From: Lauro Neto <
lauro...@openbossa.org>
Instead calling the old global function API, use
the new Qt.inputMethod object.
Fixes the non-closing keyboard problem with newer
Qt revisions.
---
src/mobile/qml/UrlBar.qml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mobile/qml/UrlBar.qml b/src/mobile/qml/UrlBar.qml
index 6cbfdbf..77ed8d2 100644
--- a/src/mobile/qml/UrlBar.qml
+++ b/src/mobile/qml/UrlBar.qml
@@ -49,7 +49,7 @@ Item {
text: ""
inputMethodHints: Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase
- onFocusChanged: if (!focus) closeSoftwareInputPanel()
+ onFocusChanged: if (!focus && Qt.inputMethod) Qt.inputMethod.hide();
onAccepted: root.accepted()
Text {
--
1.7.5.4