Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / qtbug_21580.qml
1 import QtQuick 2.0
2
3 QtObject {
4     property bool test: false
5
6     property list<QtObject> objects: [
7         QtObject {
8             id: first
9             property alias myAlias: other.myProperty
10             onMyAliasChanged: if (myAlias == 20) test = true
11         },
12         QtObject {
13             id: other
14             property real myProperty
15         }
16     ]
17
18     Component.onCompleted: {
19         other.myProperty = 20;
20     }
21 }
22