summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-01-19 23:33:04 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-01-19 23:33:04 (GMT)
commit5f62ae4520886dec8b3f077bc19b3527cae4eaec (patch)
treed5cdbbfecef410e3a8f099748226cecf676f2611
parentbc6940f53891856a3a6c3d8f1c25a8eaada90b33 (diff)
downloadQt-5f62ae4520886dec8b3f077bc19b3527cae4eaec.zip
Qt-5f62ae4520886dec8b3f077bc19b3527cae4eaec.tar.gz
Qt-5f62ae4520886dec8b3f077bc19b3527cae4eaec.tar.bz2
Make QmlGraphicsAnchors a NOCREATE type.
Prevents the creation benchmark from qFataling.
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsanchors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsanchors.cpp b/src/declarative/graphicsitems/qmlgraphicsanchors.cpp
index 4948633..93055fc 100644
--- a/src/declarative/graphicsitems/qmlgraphicsanchors.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsanchors.cpp
@@ -50,7 +50,7 @@
QT_BEGIN_NAMESPACE
-QML_DEFINE_TYPE(Qt,4,6,Anchors,QmlGraphicsAnchors)
+QML_DEFINE_NOCREATE_TYPE(QmlGraphicsAnchors)
//TODO: should we cache relationships, so we don't have to check each time (parent-child or sibling)?
//TODO: support non-parent, non-sibling (need to find lowest common ancestor)