diff options
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r-- | src/declarative/qml/qmlcomponent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp index 0e141da..9e1deb0 100644 --- a/src/declarative/qml/qmlcomponent.cpp +++ b/src/declarative/qml/qmlcomponent.cpp @@ -487,7 +487,7 @@ QObject *QmlComponent::beginCreate(QmlContext *context) QmlContextPrivate *contextPriv = static_cast<QmlContextPrivate *>(QObjectPrivate::get(context)); QmlContext *ctxt = new QmlContext(context, 0, true); - static_cast<QmlContextPrivate*>(ctxt->d_ptr)->url = d->cc->url; + static_cast<QmlContextPrivate*>(ctxt->d_func())->url = d->cc->url; QmlVME vme; QObject *rv = vme.run(ctxt, d->cc, d->start, d->count); |