diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-11 06:24:27 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-11 06:24:27 (GMT) |
commit | 95a6d0af38708004f592927d071e9c860015393b (patch) | |
tree | 976ce7be5f94478149e6bb41b36fa9975cb41871 /tests/auto | |
parent | 8fa3f3f7f038f10dcd2bbd160f04275fe0efaadf (diff) | |
download | Qt-95a6d0af38708004f592927d071e9c860015393b.zip Qt-95a6d0af38708004f592927d071e9c860015393b.tar.gz Qt-95a6d0af38708004f592927d071e9c860015393b.tar.bz2 |
Don't double function'ize dynamic QML functions
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/methods.5.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/methods.5.qml b/tests/auto/declarative/qmlecmascript/data/methods.5.qml new file mode 100644 index 0000000..3d45b15 --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/methods.5.qml @@ -0,0 +1,9 @@ +import Qt 4.6 + +Item { + property alias x: item.x + Item { id: item } + + function testFunction() { return 9; } + property int test: testFunction(); +} |