diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-14 08:07:01 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-06-15 15:26:19 +0200 |
commit | b5932a162afc0faf126d79c323c4e028300f9074 (patch) | |
tree | d16add85f8f6ca88973325879b535833ded08be3 /tests/auto/qml/qqmlproperty/data | |
parent | fdc067dff4d8f2e6e70102a3f8ac56921f668986 (diff) |
Fix qqmlproperty::warnOnInvalidBinding
* Add column to expected warning message
* Get rid of eval that doesn't make sense with only one JS engine
and doesn't work in strict mode
Change-Id: I63cd3784cd8c255af8832ea5ca1e6e5e2d48431e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlproperty/data')
-rw-r--r-- | tests/auto/qml/qqmlproperty/data/invalidBinding.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlproperty/data/invalidBinding.qml b/tests/auto/qml/qqmlproperty/data/invalidBinding.qml index e2bb1d172d..9364cdaea7 100644 --- a/tests/auto/qml/qqmlproperty/data/invalidBinding.qml +++ b/tests/auto/qml/qqmlproperty/data/invalidBinding.qml @@ -4,7 +4,7 @@ Item { property Text text: myText property Rectangle rectangle1: myText - property Rectangle rectangle2: eval('getMyText()') // eval to force non-shared (v8) binding + property Rectangle rectangle2: getMyText() function getMyText() { return myText; } |