Add cacheItemCount property to PathView
[profile/ivi/qtdeclarative.git] / src / quick / items / qquickitem.cpp
index 2e9ee26..2e494c7 100644 (file)
@@ -5042,7 +5042,7 @@ void QQuickItemPrivate::setCulled(bool cull)
         return;
 
     culled = cull;
-    if ((cull && ++extra->hideRefCount == 1) || (!cull && --extra->hideRefCount == 0))
+    if ((cull && ++extra.value().hideRefCount == 1) || (!cull && --extra.value().hideRefCount == 0))
         dirty(HideReference);
 }