aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/followsymbol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/haskell/followsymbol.cpp')
-rw-r--r--plugins/haskell/followsymbol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/haskell/followsymbol.cpp b/plugins/haskell/followsymbol.cpp
index e7ce1ea..d75c680 100644
--- a/plugins/haskell/followsymbol.cpp
+++ b/plugins/haskell/followsymbol.cpp
@@ -79,7 +79,8 @@ IAssistProposal *FollowSymbolAssistProcessor::immediateProposal(const AssistInte
item->setData(QString());
item->setOrder(-1000);
- auto proposal = new GenericProposal(interface->position(), {item});
+ const QList<TextEditor::AssistProposalItemInterface *> list = {item};
+ auto proposal = new GenericProposal(interface->position(), list);
proposal->setFragile(true);
return proposal;
}