forked from qt-creator/qt-creator
LanguageClient: Move the interface out of the gui thread
Change-Id: Iec34f5a0ca3f7f8e2306d3c8a50c2155b5b96807 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -80,6 +80,7 @@ QT_END_NAMESPACE
|
||||
namespace LanguageClient {
|
||||
|
||||
class BaseClientInterface;
|
||||
class InterfaceController;
|
||||
|
||||
class LANGUAGECLIENT_EXPORT Client : public QObject
|
||||
{
|
||||
@@ -300,7 +301,7 @@ private:
|
||||
QMap<TextEditor::TextDocument *, AssistProviders> m_resetAssistProvider;
|
||||
QHash<TextEditor::TextEditorWidget *, LanguageServerProtocol::MessageId> m_highlightRequests;
|
||||
int m_restartsLeft = 5;
|
||||
QScopedPointer<BaseClientInterface> m_clientInterface;
|
||||
InterfaceController *m_clientInterface = nullptr;
|
||||
DiagnosticManager *m_diagnosticManager = nullptr;
|
||||
DocumentSymbolCache m_documentSymbolCache;
|
||||
HoverHandler m_hoverHandler;
|
||||
|
||||
Reference in New Issue
Block a user