summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2012-07-17 20:04:22 -0300
committerLauro Neto <lauro.neto@openbossa.org>2012-07-17 20:25:16 -0300
commit1822a7bb488a210ad91a9184955d6f2386002a6b (patch)
treea5e15fd42b8d368c4be7c9a63633145de9da9c96
parent972c5b1ecd31987470ec8e5a49eb1c064683ef41 (diff)
downloadsnowshoe-1822a7bb488a210ad91a9184955d6f2386002a6b.tar.gz
Fix UrlBar to use Qt.inputMethod.
Instead calling the old global function API, use the new Qt.inputMethod object. Fixes the non-closing keyboard problem with newer Qt revisions. Reviewed-by: Marcelo Lira
-rw-r--r--src/mobile/qml/UrlBar.qml2
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 {