diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-07-02 08:51:51 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-07-02 08:53:25 (GMT) |
commit | 906b3bfd27ba87b5b09899345e7484ecab7ab022 (patch) | |
tree | 2680ff824ef4327bef1ad4f06f4742c4213aa3a4 /src/declarative/graphicsitems/qdeclarativeitem.cpp | |
parent | 29e6a5c1b1a17b8080c2dcae92dcea11b591907d (diff) | |
download | Qt-906b3bfd27ba87b5b09899345e7484ecab7ab022.zip Qt-906b3bfd27ba87b5b09899345e7484ecab7ab022.tar.gz Qt-906b3bfd27ba87b5b09899345e7484ecab7ab022.tar.bz2 |
Designer: Fix compiler warnings.
Warnings introduced by 312c028d44a80f5d6029eb166a0de731f8452525
and gcc 4.5.
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp index 9a17d78..4abffc6 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp @@ -347,6 +347,7 @@ void QDeclarativeContents::complete() void QDeclarativeContents::itemGeometryChanged(QDeclarativeItem *changed, const QRectF &newGeometry, const QRectF &oldGeometry) { + Q_UNUSED(changed) //### we can only pass changed if the left edge has moved left, or the right edge has moved right if (newGeometry.width() != oldGeometry.width() || newGeometry.x() != oldGeometry.x()) calcWidth(/*changed*/); |