From ab795618fed2ef88536e14d1ef91b692bd765400 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 22 Jul 2009 20:27:29 +0200 Subject: fix after the itemParent/parentItem cleanup. The fx items often call setParent() instead of setParentItem() so we can't simply remove that method. --- src/declarative/fx/qfxitem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/declarative/fx/qfxitem.h b/src/declarative/fx/qfxitem.h index 3047713..822af74 100644 --- a/src/declarative/fx/qfxitem.h +++ b/src/declarative/fx/qfxitem.h @@ -175,7 +175,8 @@ public: virtual ~QFxItem(); QFxItem *parentItem() const; - void setParentItem(QFxItem *parent); // ## setParentItem + void setParentItem(QFxItem *parent); + void setParent(QFxItem *parent) { setParentItem(parent); } QmlList *data(); QmlList *children(); -- cgit v0.12