summaryrefslogtreecommitdiffstats
path: root/demos/declarative/contacts/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/contacts/Button.qml')
-rw-r--r--demos/declarative/contacts/Button.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/contacts/Button.qml b/demos/declarative/contacts/Button.qml
index 09af769..629dce8 100644
--- a/demos/declarative/contacts/Button.qml
+++ b/demos/declarative/contacts/Button.qml
@@ -18,7 +18,7 @@ Item {
MouseRegion {
id: buttonMouseRegion
anchors.fill: buttonRect
- onClicked: { button.clicked.emit() }
+ onClicked: { button.clicked() }
}
states: [
State {