aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/customitems/searchbox/SearchBox.qml2
-rw-r--r--examples/quick/touchinteraction/flickable/content/Panel.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/customitems/searchbox/SearchBox.qml b/examples/quick/customitems/searchbox/SearchBox.qml
index 6f6f486412..e67400e4d2 100644
--- a/examples/quick/customitems/searchbox/SearchBox.qml
+++ b/examples/quick/customitems/searchbox/SearchBox.qml
@@ -68,7 +68,7 @@ FocusScope {
MouseArea {
anchors.fill: parent
- onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); }
+ onClicked: { focusScope.focus = true; Qt.inputMethod.show(); }
}
TextInput {
diff --git a/examples/quick/touchinteraction/flickable/content/Panel.qml b/examples/quick/touchinteraction/flickable/content/Panel.qml
index 3a402bbc06..c3cf9e27d9 100644
--- a/examples/quick/touchinteraction/flickable/content/Panel.qml
+++ b/examples/quick/touchinteraction/flickable/content/Panel.qml
@@ -118,7 +118,7 @@ Component {
drag.maximumY: page.height - 80
drag.minimumX: 100
drag.maximumX: page.width - 140
- onClicked: { myText.focus = true; myText.openSoftwareInputPanel(); }
+ onClicked: { myText.focus = true; Qt.inputMethod.show(); }
}
}
}