summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-10-23 06:32:05 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-10-23 06:34:19 (GMT)
commit603c2a0475888928462679562e9b10acefaec629 (patch)
tree20f2a91c918b1522f9f75f9dbf0ce46b9a1fb8ce /src/declarative/qml/qmlcompiler.cpp
parent14b352dc58aa9790c8d1c2af0e546be975ef315c (diff)
downloadQt-603c2a0475888928462679562e9b10acefaec629.zip
Qt-603c2a0475888928462679562e9b10acefaec629.tar.gz
Qt-603c2a0475888928462679562e9b10acefaec629.tar.bz2
Fix Behavior support for value type properties.
Diffstat (limited to 'src/declarative/qml/qmlcompiler.cpp')
-rw-r--r--src/declarative/qml/qmlcompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp
index 726051e..69ebf9c 100644
--- a/src/declarative/qml/qmlcompiler.cpp
+++ b/src/declarative/qml/qmlcompiler.cpp
@@ -1740,7 +1740,7 @@ bool QmlCompiler::buildValueTypeProperty(QObject *type,
} else {
COMPILE_CHECK(buildObject(value->object, ctxt));
- if (isPropertyInterceptor && prop->parent->synthdata.isEmpty())
+ if (isPropertyInterceptor && baseObj->synthdata.isEmpty())
buildDynamicMeta(baseObj, ForceCreation);
value->type = isPropertyValue ? Value::ValueSource : Value::ValueInterceptor;
}