diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-12-21 02:10:05 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-12-21 02:10:05 (GMT) |
commit | b15ba44af938bfa4cb22250488427c26a97272cd (patch) | |
tree | d59854e911b7174c160d215345e74e0112c58833 /src/declarative/graphicsitems | |
parent | b0d54b07752e9e51b02eba4cb6066f91e71c3069 (diff) | |
parent | 53d385c01e0f99f26356716295614e3e2cff6b66 (diff) | |
download | Qt-b15ba44af938bfa4cb22250488427c26a97272cd.zip Qt-b15ba44af938bfa4cb22250488427c26a97272cd.tar.gz Qt-b15ba44af938bfa4cb22250488427c26a97272cd.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicslistview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicslistview.cpp b/src/declarative/graphicsitems/qmlgraphicslistview.cpp index 351364e..6460a69 100644 --- a/src/declarative/graphicsitems/qmlgraphicslistview.cpp +++ b/src/declarative/graphicsitems/qmlgraphicslistview.cpp @@ -552,8 +552,7 @@ void QmlGraphicsListViewPrivate::init() { Q_Q(QmlGraphicsListView); q->setFlag(QGraphicsItem::ItemIsFocusScope); - QObject::connect(q, SIGNAL(heightChanged()), q, SLOT(refill())); - QObject::connect(q, SIGNAL(widthChanged()), q, SLOT(refill())); + addItemChangeListener(this, Geometry); QObject::connect(q, SIGNAL(movementEnded()), q, SLOT(animStopped())); q->setFlickDirection(QmlGraphicsFlickable::VerticalFlick); ::memset(sectionCache, 0, sizeof(QmlGraphicsItem*) * sectionCacheSize); |