forked from qt-creator/qt-creator
TextEditor: move Link class to separate header in Utils
Link is a common class and is used across the plugins. Change-Id: Id92e47e1b8604316ca8b970804e57abaf404ec28 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -90,7 +90,7 @@ void QmlTaskManager::collectMessages(
|
||||
QHash<QString, QList<DiagnosticMessage> > linkMessages;
|
||||
ContextPtr context;
|
||||
if (updateSemantic) {
|
||||
Link link(snapshot, vContext, snapshot.libraryInfo(info.qtImportsPath));
|
||||
QmlJS::Link link(snapshot, vContext, snapshot.libraryInfo(info.qtImportsPath));
|
||||
context = link(&linkMessages);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user