Commit 09af2cf9 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: crashfix

Check if object is not 0 and we are not called back from the
parent 6d229ef6
......@@ -782,7 +782,9 @@ QObject* ObjectNodeInstance::createObject(const NodeMetaInfo &metaInfo, QDeclara
QObject *ObjectNodeInstance::object() const
if (!m_object.isNull() && !QObjectPrivate::get(>wasDeleted)
return 0;
bool ObjectNodeInstance::hasContent() const
......@@ -178,7 +178,10 @@ QRectF QmlGraphicsItemNodeInstance::boundingRect() const
if (qmlGraphicsItem())
return qmlGraphicsItem()->boundingRect();
return QRectF();
//QVariant anchorLineFor(QDeclarativeItem *item, const AnchorLine &anchorLine)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment