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:
hjk
2014-09-13 02:22:24 +02:00
parent fef838eed7
commit 78a04f0a6d
13 changed files with 25 additions and 43 deletions

View File

@@ -915,8 +915,9 @@ class FakeVimAssistProposalModel : public GenericProposalModel
{
public:
FakeVimAssistProposalModel(const QList<AssistProposalItem *> &items)
: GenericProposalModel(items)
{}
{
loadContent(items);
}
bool supportsPrefixExpansion() const QTC_OVERRIDE
{