forked from qt-creator/qt-creator
LanguageClient: show icon with assigned server names in toolbar
Change-Id: I44ceeb184812a4c48f042a19197c7f0ffd4299f8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -208,7 +208,7 @@ void LanguageClientManager::editorOpened(Core::IEditor *editor)
|
||||
if (TextEditorWidget *widget = textEditor->editorWidget()) {
|
||||
connect(widget, &TextEditorWidget::requestLinkAt, this,
|
||||
[this, filePath = editor->document()->filePath()]
|
||||
(const QTextCursor &cursor, Utils::ProcessLinkCallback &callback){
|
||||
(const QTextCursor &cursor, Utils::ProcessLinkCallback &callback) {
|
||||
findLinkAt(filePath, cursor, callback);
|
||||
});
|
||||
connect(widget, &TextEditorWidget::requestUsages, this,
|
||||
@@ -228,6 +228,7 @@ void LanguageClientManager::editorOpened(Core::IEditor *editor)
|
||||
}
|
||||
});
|
||||
});
|
||||
updateEditorToolBar(editor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user