From 6b55e00eb94b138f39becac1bddaa5f3e42136dc Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 5 Sep 2019 10:33:54 +0200 Subject: Adapt to new Connections syntax Fixes: QTBUG-77734 Change-Id: I22b0c6a46e10780e02c56c250356f1aa87d1050f Reviewed-by: Mitch Curtis --- examples/quickcontrols2/contactlist/ContactView.ui.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'examples/quickcontrols2/contactlist') 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 { -- cgit v1.2.3