diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-02-24 04:26:43 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-02-24 05:22:24 (GMT) |
commit | 915ab7d8c75a190003db97bc0a92656ee65f5b4b (patch) | |
tree | 607d7f75c8b9acb77c7f06b43d8fd7a6fe766a99 | |
parent | fcfb08e40264c3417da91f4e187758d85f190a4f (diff) | |
download | Qt-915ab7d8c75a190003db97bc0a92656ee65f5b4b.zip Qt-915ab7d8c75a190003db97bc0a92656ee65f5b4b.tar.gz Qt-915ab7d8c75a190003db97bc0a92656ee65f5b4b.tar.bz2 |
Removed unnecessary update calls in qmlgraphicsitem
Reviewed-by: akennedy
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.cpp | 4 |
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)); |