summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml b/tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml
index 9534621..81ab599 100644
--- a/tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml
+++ b/tests/auto/declarative/qdeclarativeconnection/data/test-connection.qml
@@ -6,5 +6,5 @@ Item {
property bool tested: false
signal testMe
- Connection { sender: screen; signal: "widthChanged()"; script: screen.tested = true }
+ Connections { target: screen; onWidthChanged: screen.tested = true }
}