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:
David Schulz
2019-03-26 13:48:06 +01:00
parent 0c6f234d43
commit dac8262aeb
11 changed files with 156 additions and 11 deletions

View File

@@ -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);
}
}
}