From 1526dd0aa626206439ea7196fb42a34960850cf6 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Tue, 24 Jun 2014 17:27:28 +0200 Subject: [PATCH] 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 --- .../qml2puppet/instances/quickitemnodeinstance.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quickitemnodeinstance.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quickitemnodeinstance.cpp index df3ac2d2f6a..7b62ce13263 100644 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quickitemnodeinstance.cpp +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quickitemnodeinstance.cpp @@ -633,8 +633,6 @@ void QuickItemNodeInstance::setPropertyVariant(const PropertyName &name, const Q ObjectNodeInstance::setPropertyVariant(name, value); - quickItem()->update(); - refresh(); if (isInLayoutable()) @@ -654,8 +652,6 @@ void QuickItemNodeInstance::setPropertyBinding(const PropertyName &name, const Q ObjectNodeInstance::setPropertyBinding(name, expression); - quickItem()->update(); - refresh(); if (isInLayoutable()) @@ -720,8 +716,6 @@ void QuickItemNodeInstance::resetProperty(const PropertyName &name) ObjectNodeInstance::resetProperty(name); - quickItem()->update(); - if (isInLayoutable()) parentInstance()->refreshLayoutable(); }