forked from qt-creator/qt-creator
QmlJS: remove qtquick1 leftovers
QT_INSTALL_IMPORTS and the used ProjectInfo.qtImportsPath variable were only used for QtQuick1. Change-Id: I34da0cfc77effa84f3a7578e7f91fed0768a9bf4 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ void QmlTaskManager::collectMessages(
|
||||
QHash<QString, QList<DiagnosticMessage> > linkMessages;
|
||||
ContextPtr context;
|
||||
if (updateSemantic) {
|
||||
QmlJS::Link link(snapshot, vContext, snapshot.libraryInfo(info.qtImportsPath));
|
||||
QmlJS::Link link(snapshot, vContext, QmlJS::LibraryInfo());
|
||||
context = link(&linkMessages);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user