forked from qt-creator/qt-creator
TextEditor: Wiggle codeassist setup
Remove GenericProposalModel convenience constructor, add GenericProposal instead. Less user side code. Change-Id: I833f9943df27b50579485c93efb96943ec403f65 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -66,8 +66,9 @@ class QmlJSAssistProposalModel : public TextEditor::GenericProposalModel
|
||||
{
|
||||
public:
|
||||
QmlJSAssistProposalModel(const QList<TextEditor::AssistProposalItem *> &items)
|
||||
: TextEditor::GenericProposalModel(items)
|
||||
{}
|
||||
{
|
||||
loadContent(items);
|
||||
}
|
||||
|
||||
void filter(const QString &prefix) QTC_OVERRIDE;
|
||||
void sort(const QString &prefix) QTC_OVERRIDE;
|
||||
|
||||
Reference in New Issue
Block a user