diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-04-27 05:56:06 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-04-27 05:56:06 (GMT) |
commit | 7e94543a9b013b6b1140137ba64406b74a363afc (patch) | |
tree | 565db03ed0c733d8b6472a8b8bdb7f2cdba3b17e /src/declarative/fx/qfxcomponentinstance.cpp | |
parent | cd8542ca836b175377f3b3471725b86f8739e91a (diff) | |
download | Qt-7e94543a9b013b6b1140137ba64406b74a363afc.zip Qt-7e94543a9b013b6b1140137ba64406b74a363afc.tar.gz Qt-7e94543a9b013b6b1140137ba64406b74a363afc.tar.bz2 |
Remove QFxItem::itemContext() method.
Use qmlContext(object) instead. This makes everything consistent.
Diffstat (limited to 'src/declarative/fx/qfxcomponentinstance.cpp')
-rw-r--r-- | src/declarative/fx/qfxcomponentinstance.cpp | 2 |
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) { |