diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-10-26 05:47:12 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-10-26 05:48:03 (GMT) |
commit | ee0c9c7003dc020113886070b5c04dc0a7529bf4 (patch) | |
tree | 4bcb10b46991161a59a784db65c13b9dfe34ce0a /src/declarative/qml/qmlcontext.cpp | |
parent | 7eddab2dc75c79b05d86e2e4b48ac9f4cf102406 (diff) | |
download | Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.zip Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.tar.gz Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.tar.bz2 |
Fix more warnings.
Diffstat (limited to 'src/declarative/qml/qmlcontext.cpp')
-rw-r--r-- | src/declarative/qml/qmlcontext.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp index 31d4e1f..7ba3544 100644 --- a/src/declarative/qml/qmlcontext.cpp +++ b/src/declarative/qml/qmlcontext.cpp @@ -396,8 +396,7 @@ void QmlContext::setContextProperty(const QString &name, const QVariant &value) } } -void QmlContextPrivate::setIdProperty(const QString &name, int idx, - QObject *obj) +void QmlContextPrivate::setIdProperty(int idx, QObject *obj) { if (notifyIndex == -1) { Q_Q(QmlContext); @@ -487,7 +486,6 @@ void QmlContext::setBaseUrl(const QUrl &baseUrl) */ QUrl QmlContext::baseUrl() const { - Q_D(const QmlContext); const QmlContext* p = this; while (p && p->d_func()->url.isEmpty()) { p = p->parentContext(); |