summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine_p.h
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-19 14:26:58 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-19 14:26:58 (GMT)
commit7ae701ff4759bdfd12953c6f4d785c2d9241690f (patch)
tree7788e1119d5f5b3e620eb1b8e2a793ee6c828c8e /src/script/api/qscriptengine_p.h
parentbbf514474b2664779229b919b54b4c541157c1d3 (diff)
downloadQt-7ae701ff4759bdfd12953c6f4d785c2d9241690f.zip
Qt-7ae701ff4759bdfd12953c6f4d785c2d9241690f.tar.gz
Qt-7ae701ff4759bdfd12953c6f4d785c2d9241690f.tar.bz2
Fix QScriptValue::objectId().
QScriptValue id were made persistent. It depands on JSC:JSValue JSCell pointer not on QScriptValuePrivate attr. Reviewed-by: Kent Hansen
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r--src/script/api/qscriptengine_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h
index bc1dc92..64af653 100644
--- a/src/script/api/qscriptengine_p.h
+++ b/src/script/api/qscriptengine_p.h
@@ -250,8 +250,6 @@ public:
QSet<QScriptValuePrivate*> attachedScriptValues; //keep trace to all QScriptValue evalueted
- QAtomicInt idGenerator; //generate id for QScriptValue
-
#ifndef QT_NO_QOBJECT
QHash<QObject*, QScript::QObjectData*> m_qobjectData;
#endif