CodeAssist: The correction is just used inside C++ proposal.

Adding an empty default implementation to the base and
Removing boilerplate code from the specialized classes.

Change-Id: I4469d9f05d2ff153c0867c10683f86b4f656fd3d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2016-03-14 13:36:56 +01:00
parent 6e4a719738
commit ac2005b4e8
6 changed files with 12 additions and 22 deletions

View File

@@ -39,8 +39,6 @@ public:
~FunctionHintProposal();
bool isFragile() const override;
bool isCorrective() const override;
void makeCorrection(TextEditorWidget *editorWidget) override;
IAssistProposalModel *model() const override;
IAssistProposalWidget *createWidget() const override;