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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxpathview_p.h b/src/declarative/fx/qfxpathview_p.h
index 63c8224..be9509f 100644
--- a/src/declarative/fx/qfxpathview_p.h
+++ b/src/declarative/fx/qfxpathview_p.h
@@ -96,7 +96,7 @@ public:
requestedIndex = modelIndex;
QFxItem *item = model->item(modelIndex);
if (item)
- item->setItemParent(q);
+ item->setParentItem(q);
requestedIndex = -1;
return item;
}