Ensure external value types are initialized before write
authorMatthew Vogt <matthew.vogt@nokia.com>
Thu, 26 Apr 2012 01:05:41 +0000 (11:05 +1000)
committerQt by Nokia <qt-info@nokia.com>
Sun, 29 Apr 2012 23:52:57 +0000 (01:52 +0200)
commit0e8af75e877d46cb656d03cf575804f2c17ec33f
tree6b3466202d1a62b7c5d7fb5aff904599ee8d3ca5
parent1b48bb5602bd90dc78e1ff09207f682f6a43edd2
Ensure external value types are initialized before write

Ensure that the logic used when writing to a property having a value
type provided by an external module matches that used for properties
of internal value types.

Change-Id: I925b8b30a211ef813e2a51134411a162b0b146b5
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/qml/qqmlglobal.cpp
src/qml/qml/qqmlglobal_p.h
src/qml/qml/qqmlvmemetaobject.cpp
src/quick/util/qquickglobal.cpp
tests/auto/qml/qqmlvaluetypes/data/initializeByWrite.qml [new file with mode: 0644]
tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp