summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxpathview_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxpathview_p.h')
-rw-r--r--src/declarative/fx/qfxpathview_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxpathview_p.h b/src/declarative/fx/qfxpathview_p.h
index 358daf6..b5c5ba2 100644
--- a/src/declarative/fx/qfxpathview_p.h
+++ b/src/declarative/fx/qfxpathview_p.h
@@ -101,6 +101,9 @@ public:
requestedIndex = -1;
return item;
}
+ void releaseItem(QFxItem *item) {
+ model->release(item);
+ }
bool isValid() const {
return model && model->count() > 0 && model->delegate() && path;