summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxcomponentinstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxcomponentinstance.cpp')
-rw-r--r--src/declarative/fx/qfxcomponentinstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxcomponentinstance.cpp b/src/declarative/fx/qfxcomponentinstance.cpp
index b456716..02a6c86 100644
--- a/src/declarative/fx/qfxcomponentinstance.cpp
+++ b/src/declarative/fx/qfxcomponentinstance.cpp
@@ -109,7 +109,7 @@ void QFxComponentInstance::create()
{
Q_D(QFxComponentInstance);
if(d->component) {
- QObject *obj= d->component->create(itemContext());
+ QObject *obj= d->component->create(qmlContext(this));
if(obj) {
QFxItem *objitem = qobject_cast<QFxItem *>(obj);
if(objitem) {