aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/quick-accessibility/content
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/quick-accessibility/content')
-rw-r--r--examples/quick/quick-accessibility/content/Button.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/quick-accessibility/content/Button.qml b/examples/quick/quick-accessibility/content/Button.qml
index 96704de4fe..2baa66f91a 100644
--- a/examples/quick/quick-accessibility/content/Button.qml
+++ b/examples/quick/quick-accessibility/content/Button.qml
@@ -42,7 +42,7 @@ Rectangle {
Accessible.name: text
Accessible.description: "This button does " + text
Accessible.role: Accessible.Button
- function accessiblePressAction() {
+ Accessible.onPressAction: {
button.clicked()
}
//! [button]