summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeitem.cpp
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-25 06:38:55 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-25 06:42:18 (GMT)
commit18137c664abd3bb3825ec44864a938d1acaf7b79 (patch)
tree43ffbfcade464f04dd0f148f8e56606bbe9932e7 /src/declarative/graphicsitems/qdeclarativeitem.cpp
parent4ad6036f30db22562df4478babdc61820d94f774 (diff)
downloadQt-18137c664abd3bb3825ec44864a938d1acaf7b79.zip
Qt-18137c664abd3bb3825ec44864a938d1acaf7b79.tar.gz
Qt-18137c664abd3bb3825ec44864a938d1acaf7b79.tar.bz2
Auto-test fix.
Also fix a connect in QDeclarativeItem. Reviewed-by:TrustMe
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp
index f61ad8e..e6ade00 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp
@@ -312,9 +312,9 @@ void QDeclarativeContents::setItem(QDeclarativeItem *item)
QDeclarativeItem *child = qobject_cast<QDeclarativeItem *>(children.at(i));
if(!child)//### Should this be ignoring non-QDeclarativeItem graphicsobjects?
continue;
- connect(child, SIGNAL(heightChanged(qreal)), this, SLOT(calcHeight()));
+ connect(child, SIGNAL(heightChanged()), this, SLOT(calcHeight()));
connect(child, SIGNAL(yChanged()), this, SLOT(calcHeight()));
- connect(child, SIGNAL(widthChanged(qreal)), this, SLOT(calcWidth()));
+ connect(child, SIGNAL(widthChanged()), this, SLOT(calcWidth()));
connect(child, SIGNAL(xChanged()), this, SLOT(calcWidth()));
connect(this, SIGNAL(rectChanged(QRectF)), m_item, SIGNAL(childrenRectChanged(QRectF)));
}