summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecontextscriptclass_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-11 07:53:42 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-11 07:54:35 (GMT)
commit303730a3fdd399a3e0a65b08338b4db75aa2acee (patch)
tree4d265dfdf43a214a44f2f1e0408f6e873a1c671e /src/declarative/qml/qdeclarativecontextscriptclass_p.h
parent79dc9daa146410c7da8d4691e9a4489251980ab3 (diff)
downloadQt-303730a3fdd399a3e0a65b08338b4db75aa2acee.zip
Qt-303730a3fdd399a3e0a65b08338b4db75aa2acee.tar.gz
Qt-303730a3fdd399a3e0a65b08338b4db75aa2acee.tar.bz2
Replace QDeclarativeContext::addDefaultObject() -> setContextObject()
It is faster and easier to use to just support a single context object.
Diffstat (limited to 'src/declarative/qml/qdeclarativecontextscriptclass_p.h')
-rw-r--r--src/declarative/qml/qdeclarativecontextscriptclass_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecontextscriptclass_p.h b/src/declarative/qml/qdeclarativecontextscriptclass_p.h
index 4b0dca0..32c117c 100644
--- a/src/declarative/qml/qdeclarativecontextscriptclass_p.h
+++ b/src/declarative/qml/qdeclarativecontextscriptclass_p.h
@@ -90,7 +90,6 @@ private:
QDeclarativeContext *lastContext;
QDeclarativeTypeNameCache::Data *lastData;
int lastPropertyIndex;
- int lastDefaultObject;
QScriptValue lastFunction;
uint m_id;