summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-08-04 04:54:43 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-08-04 04:54:43 (GMT)
commit826e1f392908b497fa254513b348614376b892a2 (patch)
tree3f2cb3929bcee3656406c9b5b4af10339397be0d /src/declarative/qml/qmlcomponent.cpp
parent52aa98b54fd663a563d5fb4adc6230dbbbe9f311 (diff)
downloadQt-826e1f392908b497fa254513b348614376b892a2.zip
Qt-826e1f392908b497fa254513b348614376b892a2.tar.gz
Qt-826e1f392908b497fa254513b348614376b892a2.tar.bz2
Remove unused QmlContextPrivate member variables
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp
index 8fb7736..d4e383d 100644
--- a/src/declarative/qml/qmlcomponent.cpp
+++ b/src/declarative/qml/qmlcomponent.cpp
@@ -488,11 +488,6 @@ QObject *QmlComponent::beginCreate(QmlContext *context)
static_cast<QmlContextPrivate *>(QObjectPrivate::get(context));
QmlContext *ctxt = new QmlContext(context, 0, true);
static_cast<QmlContextPrivate*>(ctxt->d_ptr)->url = d->cc->url;
- if(d->start != -1) {
- // ### FIXME
- static_cast<QmlContextPrivate*>(ctxt->d_ptr)->startLine = d->cc->bytecode.at(d->start - 1).line;
- static_cast<QmlContextPrivate*>(ctxt->d_ptr)->endLine = d->cc->bytecode.at(d->start - 1).createComponent.endLine;
- }
QmlVME vme;
QObject *rv = vme.run(ctxt, d->cc, d->start, d->count);