-
Bug
-
Resolution: Invalid
-
P2: Important
-
6.4.1
Nitpick:
Item {
id: item
property Connections foo: Connections {
id: con
enabled: false
}
}
Component.onCompleted: {
con.enabled = false
item.foo.enabled = true
}
compiles with
Warning: main.qml:20:14: Could not compile binding for onCompleted: Member enabled of bool of bool can be shadowed [compiler] item.foo.enabled = true ^^^
.
If you use an id for the connection itself, there's no warning.