diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-06-21 13:01:47 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-06-21 13:01:47 (GMT) |
commit | 32e532743dc6243612ade017e8c326ca0e7e0dec (patch) | |
tree | ac365f51a9d50c4fc14ea47f1cbca090357eda79 /src/declarative | |
parent | 6189929e49a36b447fd3fe8372a10eaf6023272d (diff) | |
download | Qt-32e532743dc6243612ade017e8c326ca0e7e0dec.zip Qt-32e532743dc6243612ade017e8c326ca0e7e0dec.tar.gz Qt-32e532743dc6243612ade017e8c326ca0e7e0dec.tar.bz2 |
Compiler warnings (unused variables).
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeanchors.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeanchors.cpp b/src/declarative/graphicsitems/qdeclarativeanchors.cpp index 6796977..7ac2b17 100644 --- a/src/declarative/graphicsitems/qdeclarativeanchors.cpp +++ b/src/declarative/graphicsitems/qdeclarativeanchors.cpp @@ -213,15 +213,12 @@ void QDeclarativeAnchorsPrivate::centerInChanged() if (updatingCenterIn < 2) { ++updatingCenterIn; - QGraphicsItemPrivate *itemPrivate = QGraphicsItemPrivate::get(item); if (centerIn == item->parentItem()) { - QGraphicsItemPrivate *parentPrivate = QGraphicsItemPrivate::get(item->parentItem()); QPointF p(hcenter(item->parentItem()) - hcenter(item) + hCenterOffset, vcenter(item->parentItem()) - vcenter(item) + vCenterOffset); setItemPos(p); } else if (centerIn->parentItem() == item->parentItem()) { - QGraphicsItemPrivate *centerPrivate = QGraphicsItemPrivate::get(centerIn); QPointF p(centerIn->x() + hcenter(centerIn) - hcenter(item) + hCenterOffset, centerIn->y() + vcenter(centerIn) - vcenter(item) + vCenterOffset); setItemPos(p); |