QmlDesigner: Remove harmful updates

From the quick1 times we always have done a update but it is not any more
useful and it is triggering a repaint which makes the form editor sluggish.

Change-Id: I8103d03c295aa73e14b4b4fcec15b01069c62754
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Marco Bubke
2014-06-24 17:27:28 +02:00
parent 1014291c01
commit 1526dd0aa6

View File

@@ -633,8 +633,6 @@ void QuickItemNodeInstance::setPropertyVariant(const PropertyName &name, const Q
ObjectNodeInstance::setPropertyVariant(name, value); ObjectNodeInstance::setPropertyVariant(name, value);
quickItem()->update();
refresh(); refresh();
if (isInLayoutable()) if (isInLayoutable())
@@ -654,8 +652,6 @@ void QuickItemNodeInstance::setPropertyBinding(const PropertyName &name, const Q
ObjectNodeInstance::setPropertyBinding(name, expression); ObjectNodeInstance::setPropertyBinding(name, expression);
quickItem()->update();
refresh(); refresh();
if (isInLayoutable()) if (isInLayoutable())
@@ -720,8 +716,6 @@ void QuickItemNodeInstance::resetProperty(const PropertyName &name)
ObjectNodeInstance::resetProperty(name); ObjectNodeInstance::resetProperty(name);
quickItem()->update();
if (isInLayoutable()) if (isInLayoutable())
parentInstance()->refreshLayoutable(); parentInstance()->refreshLayoutable();
} }