Fix incorrectly initialized property cache on group objects
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 11 Mar 2014 12:12:38 +0000 (13:12 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 11 Mar 2014 17:31:21 +0000 (18:31 +0100)
commitaf7ba8a6194b83fe7380b8d4ae027e2f04e21f17
tree2d8eb6e7af9c34405659dc87c9aa6a150ceaa9cb
parent95444c589763e16fb1c2cf1e1bc892fa5cc41a3a
Fix incorrectly initialized property cache on group objects

When initializing bindings on group objects, we would accidentally set the
property cache for the property type instead of preserving a possibly earlier
initialized cache on the ddata of the QObject.

Task-number: QTBUG-37390

Change-Id: I4d6a4ce6b3382f378f9a9ddfe11924860a15979d
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlobjectcreator.cpp
tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml [new file with mode: 0644]
tests/auto/qml/qqmllanguage/data/GroupType.qml [new file with mode: 0644]
tests/auto/qml/qqmllanguage/data/preservePropertyCacheOnGroupObjects.qml [new file with mode: 0644]
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp