QmlDesigner.NodeInstance: Better content check

Fix rendering bug for repeaters.

Change-Id: I1c56bb63ff91cd8f58e349b0f8b038d1dd7d40e9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2012-10-22 16:07:17 +02:00
committed by Thomas Hartmann
parent 9246e78d23
commit 6994079f96
2 changed files with 18 additions and 4 deletions
@@ -117,6 +117,7 @@ protected:
QRectF boundingRectWithStepChilds(QQuickItem *parentItem) const;
void updateDirtyNodeRecursive(QQuickItem *parentItem) const;
static bool anyItemHasContent(QQuickItem *graphicsItem);
static bool childItemsHaveContent(QQuickItem *graphicsItem);
private: //variables
bool m_hasHeight;