projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
propertyVar.4.qml
1
import QtQuick 2.0
2
3
Item {
4
property bool test: false
5
6
property var items: [1, 2, 3, "four", "five"]
7
property int bound: items[0]
8
9
Component.onCompleted: {
10
if (bound != 1) return;
11
12
items[0] = 10 // bound should remain 1
13
14
if (bound != 1) return;
15
16
test = true;
17
}
18
}