CodeAssist: Use settable property for IAssistProposal::isFragile

Removes the need to create yet another subclass (for overriding a
virtual method) in some situations.

Change-Id: I55d70de60b4f8d127a175d996f797700c2f172a6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Eike Ziller
2017-07-12 20:16:51 +02:00
parent f97657b15e
commit 49f3442a72
7 changed files with 19 additions and 17 deletions

View File

@@ -38,7 +38,6 @@ public:
FunctionHintProposal(int cursorPos, IFunctionHintProposalModel *model);
~FunctionHintProposal();
bool isFragile() const override;
IAssistProposalModel *model() const override;
IAssistProposalWidget *createWidget() const override;