diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-21 00:38:27 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-21 00:38:27 (GMT) |
commit | 53d385c01e0f99f26356716295614e3e2cff6b66 (patch) | |
tree | 099554cda0178aa54e9bf6200a87fa86b132dbc5 /src | |
parent | 944f41b814d826191a713de34cb9fdda439d14c5 (diff) | |
download | Qt-53d385c01e0f99f26356716295614e3e2cff6b66.zip Qt-53d385c01e0f99f26356716295614e3e2cff6b66.tar.gz Qt-53d385c01e0f99f26356716295614e3e2cff6b66.tar.bz2 |
Remove a couple of connects is ListView.
Diffstat (limited to 'src')
-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); |