diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-04-01 08:58:09 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-04-01 08:58:09 (GMT) |
commit | 71be952387a54a0e0b62434968f7abfb75bb04fa (patch) | |
tree | 20eeb602032a43f5d64877f3d786602d919d07bd | |
parent | 603ee8b841385c04c5118650075134154aee29a7 (diff) | |
download | Qt-71be952387a54a0e0b62434968f7abfb75bb04fa.zip Qt-71be952387a54a0e0b62434968f7abfb75bb04fa.tar.gz Qt-71be952387a54a0e0b62434968f7abfb75bb04fa.tar.bz2 |
QtScript: remove duplicated APIshim in QScriptValueIterator
Added by both 7a11acd536d84ad22ef98a0fdbdb4322a55efafb and
3e5745ea75d73869918889cb374c3d651bed0991 in different branches.
in ~QScriptValueIterator and ~QScriptValueIteratorPrivate
Only one is required.
-rw-r--r-- | src/script/api/qscriptvalueiterator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/script/api/qscriptvalueiterator.cpp b/src/script/api/qscriptvalueiterator.cpp index 77d43b3..ecda5fc 100644 --- a/src/script/api/qscriptvalueiterator.cpp +++ b/src/script/api/qscriptvalueiterator.cpp @@ -150,12 +150,6 @@ QScriptValueIterator::QScriptValueIterator(const QScriptValue &object) */ QScriptValueIterator::~QScriptValueIterator() { - Q_D(QScriptValueIterator); - if (d && d->engine()) { - // Make sure identifiers are removed from the correct engine. - QScript::APIShim shim(d->engine()); - d->propertyNames.clear(); - } } /*! |