diff options
| author | David Schulz <david.schulz@qt.io> | 2021-09-15 07:04:12 +0200 |
|---|---|---|
| committer | David Schulz <david.schulz@qt.io> | 2021-09-16 08:25:36 +0000 |
| commit | 4324f3e8c1ddb4250ba2e73bd9cb4bd00d49f595 (patch) | |
| tree | 1d9d21862c369f0d7b0acf45233a8444614e8fb9 /src/plugins/cppeditor/cppcompletionassist.cpp | |
| parent | 897d3349fa3e4ed0a28e70ccbb0b8730a62058cb (diff) | |
| download | qt-creator-4324f3e8c1ddb4250ba2e73bd9cb4bd00d49f595.tar.gz | |
Editor: pass AssistInterface to createProcessor
The interface can be used for checking the context of a codeassist
request to determine
the correct processor that has to be created.
Change-Id: I47ddb05c46399566e27bae21711f11a3a4132c3f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppcompletionassist.cpp')
| -rw-r--r-- | src/plugins/cppeditor/cppcompletionassist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppcompletionassist.cpp b/src/plugins/cppeditor/cppcompletionassist.cpp index 1eb767427b..595a6c85d2 100644 --- a/src/plugins/cppeditor/cppcompletionassist.cpp +++ b/src/plugins/cppeditor/cppcompletionassist.cpp @@ -417,7 +417,7 @@ int CppFunctionHintModel::activeArgument(const QString &prefix) const // InternalCompletionAssistProvider // --------------------------- -IAssistProcessor *InternalCompletionAssistProvider::createProcessor() const +IAssistProcessor *InternalCompletionAssistProvider::createProcessor(const AssistInterface *) const { return new InternalCppCompletionAssistProcessor; } |
