diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-01-19 23:33:04 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-01-19 23:33:04 (GMT) |
commit | 5f62ae4520886dec8b3f077bc19b3527cae4eaec (patch) | |
tree | d5cdbbfecef410e3a8f099748226cecf676f2611 | |
parent | bc6940f53891856a3a6c3d8f1c25a8eaada90b33 (diff) | |
download | Qt-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.cpp | 2 |
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) |