diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-05-21 01:50:49 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-05-21 01:50:49 (GMT) |
commit | de01908d736b407e4d230e4360de5515d5fccf43 (patch) | |
tree | 9abc79e63402ee5bae00443a9fbf6cf2411356d8 | |
parent | cbffed3af04495f7bd28a054a1c04ee33ca43a80 (diff) | |
download | Qt-de01908d736b407e4d230e4360de5515d5fccf43.zip Qt-de01908d736b407e4d230e4360de5515d5fccf43.tar.gz Qt-de01908d736b407e4d230e4360de5515d5fccf43.tar.bz2 |
Fix Contents
-rw-r--r-- | src/declarative/fx/qfxitem.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp index 3cbcd6a..17fe36a 100644 --- a/src/declarative/fx/qfxitem.cpp +++ b/src/declarative/fx/qfxitem.cpp @@ -197,8 +197,10 @@ void QFxContents::setItem(QFxItem *item) const QList<QSimpleCanvasItem *> &children = _item->QSimpleCanvasItem::children(); for (int i = 0; i < children.count(); ++i) { const QSimpleCanvasItem *child = children.at(i); - connect(child, SIGNAL(bottomChanged()), this, SLOT(calcHeight())); - connect(child, SIGNAL(rightChanged()), this, SLOT(calcWidth())); + connect(child, SIGNAL(heightChanged()), this, SLOT(calcHeight())); + connect(child, SIGNAL(topChanged()), this, SLOT(calcHeight())); + connect(child, SIGNAL(widthChanged()), this, SLOT(calcWidth())); + connect(child, SIGNAL(leftChanged()), this, SLOT(calcWidth())); } calcHeight(); |