aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/cppcompletionassistprovider.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@theqtcompany.com>2016-03-16 13:04:05 +0100
committerDavid Schulz <david.schulz@theqtcompany.com>2016-04-28 12:14:41 +0000
commit898968b101abe4d197f0cfcdcdcebb58dfe0fe3c (patch)
tree87c83c2bba27bcea3d21db164925fc9197b940c2 /src/plugins/cpptools/cppcompletionassistprovider.h
parent16aeecea2c88d64d29f1d4f4e02939c790445e87 (diff)
CodeAssist: Support only one quickfix assistant per editor class.
Currently we are just using the first that is found. Which could lead to unexpected behavior. Adjust the API to make clear just one assistant is supported per editor type. Change-Id: I711e66b4c5c5f347118357a8bafa0ffc6d650f7e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppcompletionassistprovider.h')
-rw-r--r--src/plugins/cpptools/cppcompletionassistprovider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppcompletionassistprovider.h b/src/plugins/cpptools/cppcompletionassistprovider.h
index 16382581c7..85f9657c62 100644
--- a/src/plugins/cpptools/cppcompletionassistprovider.h
+++ b/src/plugins/cpptools/cppcompletionassistprovider.h
@@ -48,6 +48,7 @@ class CPPTOOLS_EXPORT CppCompletionAssistProvider : public TextEditor::Completio
Q_OBJECT
public:
+ CppCompletionAssistProvider(QObject *parent = 0);
bool supportsEditor(Core::Id editorId) const override;
int activationCharSequenceLength() const override;
bool isActivationCharSequence(const QString &sequence) const override;