LanguageClient: reset all assist providers

Instead of just unsetting the function assist provider and quick fix
assist provider reset it to the previous provider.

Change-Id: I46c5c2f14234e3da08480dd103e4634859447d57
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2019-09-10 08:03:36 +02:00
parent cd6b37d905
commit f0a3779513
7 changed files with 70 additions and 36 deletions

View File

@@ -148,7 +148,9 @@ void LanguageClientQuickFixAssistProcessor::handleCodeActionResponse(
setAsyncProposalAvailable(GenericProposal::createProposal(m_assistInterface.data(), ops));
}
LanguageClientQuickFixProvider::LanguageClientQuickFixProvider(Client *client) : m_client(client)
LanguageClientQuickFixProvider::LanguageClientQuickFixProvider(Client *client)
: IAssistProvider(client)
, m_client(client)
{
QTC_CHECK(client);
}