aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-03-11 13:12:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 18:31:21 +0100
commitaf7ba8a6194b83fe7380b8d4ae027e2f04e21f17 (patch)
tree2d8eb6e7af9c34405659dc87c9aa6a150ceaa9cb /tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml
parent95444c589763e16fb1c2cf1e1bc892fa5cc41a3a (diff)
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>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml')
-rw-r--r--tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml b/tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml
new file mode 100644
index 0000000000..a2534359be
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/GroupPropertyBase.qml
@@ -0,0 +1,6 @@
+import QtQml 2.0
+QtObject {
+ property GroupType subObject: GroupType {
+ property int newProperty: 100;
+ }
+}