Rafael Brandao
unread,Jul 17, 2012, 5:39:41 PM7/17/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to snowsh...@googlegroups.com
In a recent change, the methods openSoftwareInputPanel and closeSoftwareInputPanel were removed.
It is recommended to use Qt.application.inputMethod.show() and hide() instead.
Reviewed-by: NOBODY
---
src/mobile/qml/UrlBar.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mobile/qml/UrlBar.qml b/src/mobile/qml/UrlBar.qml
index 6cbfdbf..1c935ce 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.application.inputMethod) Qt.application.inputMethod.hide()
onAccepted: root.accepted()
Text {
--
1.7.9.5