LanguageClient: improve Server startup

Starting a client does not need to be done via
LanguageClientManager::startClient anymore but can be done via
Client::start()

Change-Id: I571e96b6ad7d64786a345edf5dbb38208b9a1d12
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-02-12 14:01:24 +01:00
parent 9bd8dc41d2
commit 166fce5036
4 changed files with 37 additions and 39 deletions

View File

@@ -58,7 +58,8 @@ public:
static void init();
static void startClient(Client *client);
static void clientStarted(Client *client);
static void clientFinished(Client *client);
static Client *startClient(BaseSettings *setting, ProjectExplorer::Project *project = nullptr);
static QVector<Client *> clients();
@@ -114,8 +115,6 @@ private:
QVector<Client *> reachableClients();
void clientFinished(Client *client);
bool m_shuttingDown = false;
QVector<Client *> m_clients;
QList<BaseSettings *> m_currentSettings; // owned