blob: acd512a2be1fce90db8fa1ba9467568044a8048d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import QtQuick 2.0
Item {
id: root
property int first: 5
property bool test: false
Item {
id: exceptional
function exceptionalFunction() {
var obj = undefined;
var prop = undefined;
return obj[prop];
}
}
Component.onCompleted: {
root["firstChanged"].connect(exceptional.exceptionalFunction);
root["firstChanged"].connect(exceptional.exceptionalFunction);
root["firstChanged"].connect(exceptional.exceptionalFunction);
first = 6;
test = true;
}
}
|