diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-04 10:05:51 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-06-04 11:58:10 +0200 |
commit | 19ded50946fa40146914771b1d8eaa22f51da803 (patch) | |
tree | d0e10bdef5f6ec9ffa529eafde7fd3f5f9df4fff /src/qml/qml/qqmlengine.cpp | |
parent | 1dbbecda8b4e34196d07ecfea65de87b0bd8b83a (diff) |
Cleanups in QObject bindings
* Rename v8object to jsWrapper in QQmlData
* Rename v8objectid to jsEngineId, as that's the identifier of the engine
that currently owns the primary JS wrapper
This is in preparation for moving newObject away from QV8QObjectWrapper
Change-Id: I6432365e849d159600e22f09e7e2ab2ae2117db6
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r-- | src/qml/qml/qqmlengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index e8dd42cafe..26f3ea9b56 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -1531,7 +1531,7 @@ void QQmlData::destroyed(QObject *object) delete extendedData; // Dispose the handle. - v8object = QV4::Value::undefinedValue(); + jsWrapper = QV4::Value::undefinedValue(); if (ownMemory) delete this; |