forked from qt-creator/qt-creator
QmlJS: Fix saving and restoring QML scope objects.
Change-Id: I621d7c3dbc8d5613b5d9ffddd08acd582559990b Reviewed-on: http://codereview.qt-project.org/5720 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <qmljs/qmljsdocument.h>
|
||||
|
||||
#include <QtCore/QList>
|
||||
#include <QtCore/QStack>
|
||||
|
||||
namespace QmlJS {
|
||||
|
||||
@@ -68,6 +69,7 @@ private:
|
||||
|
||||
ScopeChain *_scopeChain;
|
||||
QList<AST::Node *> _nodes;
|
||||
QStack< QList<const ObjectValue *> > _qmlScopeObjects;
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
Reference in New Issue
Block a user