aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/languageclient/languageclientfunctionhint.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2019-09-10 08:03:36 +0200
committerDavid Schulz <david.schulz@qt.io>2019-09-11 07:37:17 +0000
commitf0a37795131133e0b5acbeb355e90fbad1af3b5b (patch)
tree4d93ca11fa0ec0d347808c8f139fa056710130dc /src/plugins/languageclient/languageclientfunctionhint.cpp
parentcd6b37d905ae9acdeeef206f223da9d81cc06b3b (diff)
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>
Diffstat (limited to 'src/plugins/languageclient/languageclientfunctionhint.cpp')
-rw-r--r--src/plugins/languageclient/languageclientfunctionhint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/languageclient/languageclientfunctionhint.cpp b/src/plugins/languageclient/languageclientfunctionhint.cpp
index 9a1fe6fc8e9..e82c8a5163a 100644
--- a/src/plugins/languageclient/languageclientfunctionhint.cpp
+++ b/src/plugins/languageclient/languageclientfunctionhint.cpp
@@ -102,7 +102,8 @@ void FunctionHintProcessor::handleSignatureResponse(const SignatureHelpRequest::
}
FunctionHintAssistProvider::FunctionHintAssistProvider(Client *client)
- : m_client(client)
+ : CompletionAssistProvider(client)
+ , m_client(client)
{}
TextEditor::IAssistProcessor *FunctionHintAssistProvider::createProcessor() const