forked from qt-creator/qt-creator
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:
@@ -40,7 +40,6 @@ public:
|
||||
GenericProposal(int cursorPos, const QList<AssistProposalItemInterface *> &items);
|
||||
~GenericProposal();
|
||||
|
||||
bool isFragile() const override;
|
||||
bool hasItemsToPropose(const QString &prefix, AssistReason reason) const override;
|
||||
IAssistProposalModel *model() const override;
|
||||
IAssistProposalWidget *createWidget() const override;
|
||||
|
||||
Reference in New Issue
Block a user