summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-06-21 13:01:47 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-06-21 13:01:47 (GMT)
commit32e532743dc6243612ade017e8c326ca0e7e0dec (patch)
treeac365f51a9d50c4fc14ea47f1cbca090357eda79 /src
parent6189929e49a36b447fd3fe8372a10eaf6023272d (diff)
downloadQt-32e532743dc6243612ade017e8c326ca0e7e0dec.zip
Qt-32e532743dc6243612ade017e8c326ca0e7e0dec.tar.gz
Qt-32e532743dc6243612ade017e8c326ca0e7e0dec.tar.bz2
Compiler warnings (unused variables).
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeanchors.cpp3
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);