diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2012-07-17 20:04:22 -0300 |
---|---|---|
committer | Lauro Neto <lauro.neto@openbossa.org> | 2012-07-17 20:25:16 -0300 |
commit | 1822a7bb488a210ad91a9184955d6f2386002a6b (patch) | |
tree | a5e15fd42b8d368c4be7c9a63633145de9da9c96 | |
parent | 972c5b1ecd31987470ec8e5a49eb1c064683ef41 (diff) | |
download | snowshoe-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.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 { |