aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/contactlist
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-09-05 10:33:54 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-09-06 10:34:55 +0200
commit6b55e00eb94b138f39becac1bddaa5f3e42136dc (patch)
tree3851d09ee687a58f4223e98f002d998eb7090e25 /examples/quickcontrols2/contactlist
parent48ce9c5c818102b3f2c92392252020c2f0f08e78 (diff)
Adapt to new Connections syntax
Fixes: QTBUG-77734 Change-Id: I22b0c6a46e10780e02c56c250356f1aa87d1050f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/contactlist')
-rw-r--r--examples/quickcontrols2/contactlist/ContactView.ui.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/quickcontrols2/contactlist/ContactView.ui.qml b/examples/quickcontrols2/contactlist/ContactView.ui.qml
index 747f3042..984fc787 100644
--- a/examples/quickcontrols2/contactlist/ContactView.ui.qml
+++ b/examples/quickcontrols2/contactlist/ContactView.ui.qml
@@ -72,11 +72,7 @@ ListView {
delegate: ContactDelegate {
id: delegate
width: listView.width
-
- Connections {
- target: delegate
- onPressAndHold: listView.pressAndHold(index)
- }
+ onPressAndHold: listView.pressAndHold(index)
}
model: ContactModel {