diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-20 09:25:46 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-21 05:08:14 +0000 |
commit | c016634478a4c9f480f7d9d5c85dded307a80d13 (patch) | |
tree | dac1e57c2cfb67e38945971524459e81bf05b113 /tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml | |
parent | d6ac86f59250e05eb5e7db5bb8a45a85db1f0f25 (diff) |
Fix string property assignments to 2d vectors and quaternions
Just like it's possible to assign "1,2,3" to a QVector3D, the same
should be possible for a QVector2D and a QQuaternion.
Task-number: QTBUG-54858
Change-Id: I8f394279dcdf5c057876efaa316b4bad51a4c126
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml')
-rw-r--r-- | tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml b/tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml index c91cf581b3..52027232db 100644 --- a/tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml +++ b/tests/auto/qml/qqmllanguage/data/assignBasicTypes.qml @@ -26,7 +26,9 @@ MyTypeObject { boolProperty: true variantProperty: "Hello World!" vectorProperty: "10,1,2.2" + vector2Property: "2, 3" vector4Property: "10,1,2.2,2.3" + quaternionProperty: "4,5,6,7" urlProperty: "main.qml?with%3cencoded%3edata" objectProperty: MyTypeObject { intProperty: 8 } |