forked from qt-creator/qt-creator
QmlJS: Don't produce Qml type errors if plugins are imported.
Task-number: QTCREATORBUG-1021 Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -1448,6 +1448,16 @@ void Context::setProperty(const ObjectValue *object, const QString &name, const
|
||||
_properties[object].insert(name, value);
|
||||
}
|
||||
|
||||
bool Context::documentImportsPlugins(const Document *doc) const
|
||||
{
|
||||
return _documentsImportingPlugins.contains(doc->fileName());
|
||||
}
|
||||
|
||||
void Context::setDocumentImportsPlugins(const Document *doc)
|
||||
{
|
||||
_documentsImportingPlugins.insert(doc->fileName());
|
||||
}
|
||||
|
||||
Reference::Reference(Engine *engine)
|
||||
: _engine(engine)
|
||||
{
|
||||
|
Reference in New Issue
Block a user