@@ -139,9 +139,6 @@ void ListViewWithPageHeader::ListItem::setCulled(bool culled)
139 QQuickItemPrivate::get(m_item)->setCulled(culled);
139 QQuickItemPrivate::get(m_item)->setCulled(culled);
140 if (m_sectionItem)
140 if (m_sectionItem)
141 QQuickItemPrivate::get(m_sectionItem)->setCulled(culled);
141 QQuickItemPrivate::get(m_sectionItem)->setCulled(culled);
143− QQmlContext *itemContext = QQmlEngine::contextForObject(m_item)->parentContext();
144− itemContext->setContextProperty(QLatin1String("culled"), QVariant::fromValue<bool>(culled));
147ListViewWithPageHeader::ListViewWithPageHeader()
144ListViewWithPageHeader::ListViewWithPageHeader()
@@ -852,7 +849,6 @@ void ListViewWithPageHeader::itemCreated(int modelIndex, QObject *object)
852 QQmlContext *context = QQmlEngine::contextForObject(item)->parentContext();
849 QQmlContext *context = QQmlEngine::contextForObject(item)->parentContext();
853 context->setContextProperty(QLatin1String("ListViewWithPageHeader"), this);
850 context->setContextProperty(QLatin1String("ListViewWithPageHeader"), this);
854 context->setContextProperty(QLatin1String("heightToClip"), QVariant::fromValue<int>(0));
851 context->setContextProperty(QLatin1String("heightToClip"), QVariant::fromValue<int>(0));
855− context->setContextProperty(QLatin1String("culled"), QVariant::fromValue<bool>(false));
856 if (modelIndex == m_asyncRequestedIndex) {
852 if (modelIndex == m_asyncRequestedIndex) {
857 createItem(modelIndex, false);
853 createItem(modelIndex, false);
858 refill();
854 refill();