forked from qt-creator/qt-creator
QmlJS: Fix type detection for alias properties.
Task-number: QTCREATORBUG-2306
This commit is contained in:
@@ -126,9 +126,15 @@ Document::~Document()
|
||||
Document::Ptr Document::create(const QString &fileName)
|
||||
{
|
||||
Document::Ptr doc(new Document(fileName));
|
||||
doc->_ptr = doc;
|
||||
return doc;
|
||||
}
|
||||
|
||||
Document::Ptr Document::ptr() const
|
||||
{
|
||||
return _ptr.toStrongRef();
|
||||
}
|
||||
|
||||
bool Document::isQmlDocument() const
|
||||
{
|
||||
return _isQmlDocument;
|
||||
|
||||
Reference in New Issue
Block a user