forked from qt-creator/qt-creator
QmlJS: Fix plugin dumpers running all the time if dump fails.
Task-number: QTCREATORBUG-2733 Reviewed-by: Kai Koehne
This commit is contained in:
@@ -122,6 +122,7 @@ class QMLJS_EXPORT LibraryInfo
|
||||
QList<QmlDirParser::Plugin> _plugins;
|
||||
typedef QList<const Interpreter::FakeMetaObject *> FakeMetaObjectList;
|
||||
FakeMetaObjectList _metaObjects;
|
||||
bool _dumped;
|
||||
|
||||
public:
|
||||
LibraryInfo();
|
||||
@@ -142,6 +143,12 @@ public:
|
||||
|
||||
bool isValid() const
|
||||
{ return _valid; }
|
||||
|
||||
bool isDumped() const
|
||||
{ return _dumped; }
|
||||
|
||||
void setDumped(bool dumped)
|
||||
{ _dumped = dumped; }
|
||||
};
|
||||
|
||||
class QMLJS_EXPORT Snapshot
|
||||
|
||||
Reference in New Issue
Block a user