summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-25 23:19:56 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-25 23:19:56 (GMT)
commitb848c25000a3496dd1a3c4ffeb04786775cd4b50 (patch)
treee10f1cc2f5e04b19681f7f5917313cca45a7e4bd /src/declarative/qml/qmlcomponent.cpp
parent2507dce1477e6d302838c546cfc1cf8cddd0b446 (diff)
downloadQt-b848c25000a3496dd1a3c4ffeb04786775cd4b50.zip
Qt-b848c25000a3496dd1a3c4ffeb04786775cd4b50.tar.gz
Qt-b848c25000a3496dd1a3c4ffeb04786775cd4b50.tar.bz2
Fix compile after merge from 4.6.
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp2
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);