summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-24 04:26:43 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-24 05:22:24 (GMT)
commit915ab7d8c75a190003db97bc0a92656ee65f5b4b (patch)
tree607d7f75c8b9acb77c7f06b43d8fd7a6fe766a99 /src
parentfcfb08e40264c3417da91f4e187758d85f190a4f (diff)
downloadQt-915ab7d8c75a190003db97bc0a92656ee65f5b4b.zip
Qt-915ab7d8c75a190003db97bc0a92656ee65f5b4b.tar.gz
Qt-915ab7d8c75a190003db97bc0a92656ee65f5b4b.tar.bz2
Removed unnecessary update calls in qmlgraphicsitem
Reviewed-by: akennedy
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp
index 5dd44fa..3db60ee 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp
@@ -2604,7 +2604,6 @@ void QDeclarativeItem::setWidth(qreal w)
prepareGeometryChange();
d->width = w;
- update();
geometryChanged(QRectF(x(), y(), width(), height()),
QRectF(x(), y(), oldWidth, height()));
@@ -2641,7 +2640,6 @@ void QDeclarativeItem::setImplicitWidth(qreal w)
prepareGeometryChange();
d->width = w;
- update();
geometryChanged(QRectF(x(), y(), width(), height()),
QRectF(x(), y(), oldWidth, height()));
@@ -2676,7 +2674,6 @@ void QDeclarativeItem::setHeight(qreal h)
prepareGeometryChange();
d->height = h;
- update();
geometryChanged(QRectF(x(), y(), width(), height()),
QRectF(x(), y(), width(), oldHeight));
@@ -2713,7 +2710,6 @@ void QDeclarativeItem::setImplicitHeight(qreal h)
prepareGeometryChange();
d->height = h;
- update();
geometryChanged(QRectF(x(), y(), width(), height()),
QRectF(x(), y(), width(), oldHeight));