Commit 6c2a84a7 authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner.NodeInstances: Fix repaint bug

The dirtySceneTransform flag isn't reset by resetDirtyItem(). So we do it now

Change-Id: I2a908c18b2e05e9b6f40dc2994e765c37197a6d5

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarThomas Hartmann <>
parent ccc78ae9
......@@ -133,8 +133,10 @@ void Qt4NodeInstanceServer::resetAllItems()
static_cast<QGraphicsScenePrivate*>(QObjectPrivate::get(declarativeView()->scene()))->processDirtyItemsEmitted = true;
foreach (QGraphicsItem *item, declarativeView()->items())
foreach (QGraphicsItem *item, declarativeView()->items()) {
QGraphicsItemPrivate::get(item)->dirtySceneTransform = 0;
bool Qt4NodeInstanceServer::nonInstanceChildIsDirty(QGraphicsObject *graphicsObject) const
Supports Markdown
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