summaryrefslogtreecommitdiffstats
path: root/src/controls/Private/BasicButton.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-09 14:58:03 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-20 19:15:57 +0200
commitbdac502eadd746ee101b95e8d546b6bb754afdeb (patch)
treeb5d02d7094ef727ac4ede73e232740d9c72fb0bb /src/controls/Private/BasicButton.qml
parent158b7dafcb21b6f8816841636afba13ebde1c62a (diff)
Adapt to new Connections syntax
Change-Id: I299baf89f2530250a333736bb31f4ae470610176 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/controls/Private/BasicButton.qml')
-rw-r--r--src/controls/Private/BasicButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/BasicButton.qml b/src/controls/Private/BasicButton.qml
index 0206c72fd..d5c5d28fa 100644
--- a/src/controls/Private/BasicButton.qml
+++ b/src/controls/Private/BasicButton.qml
@@ -163,7 +163,7 @@ Control {
Connections {
target: __action
- onTriggered: button.clicked()
+ function onTriggered() { button.clicked() }
}
activeFocusOnTab: true