QmlDesigner: Fix 'jumping around' when moving items in the Visual Editor

This regression was caused by Qt change
6f88388db4e8e2, which disabled the automatic setting of QObject::parent

Reviewed-by: Marco Bubke
This commit is contained in:
Kai Koehne
2010-03-30 16:52:12 +02:00
parent 17884141da
commit aff7d3fdf8

View File

@@ -261,7 +261,7 @@ NodeInstance NodeInstance::parent() const
bool NodeInstance::hasParent() const
{
return m_nodeInstance->object()->parent();
return m_nodeInstance->parent();
}
/*!