diff options
author | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-01 14:51:01 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-01 14:01:35 +0000 |
commit | c903f4974f3ed403b1cc4af4f143922d8ebc7961 (patch) | |
tree | 8212fe73b701edd3826b8972c76913beec197e4c /src/plugins/glsleditor | |
parent | e42bf6ebc637e9ef4ec95787374c9743eb80d8d4 (diff) | |
download | qt-creator-c903f4974f3ed403b1cc4af4f143922d8ebc7961.tar.gz |
TextEditor: Introduce AssistProposalItemInterface
For unit test we need to break every dependency to the TextEditor
Widget etc.. With an abstract interface we can implement it in clang
without relying on unwanted dependencies. It makes it also easier to
compute the values deferred.
Change-Id: I1b313a1625f4e80bd324ab4bf1a7c4f6b690abe9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/glsleditor')
-rw-r--r-- | src/plugins/glsleditor/glslcompletionassist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/glsleditor/glslcompletionassist.cpp b/src/plugins/glsleditor/glslcompletionassist.cpp index 437f6fb72a..e75bfb97a2 100644 --- a/src/plugins/glsleditor/glslcompletionassist.cpp +++ b/src/plugins/glsleditor/glslcompletionassist.cpp @@ -264,7 +264,7 @@ IAssistProposal *GlslCompletionAssistProcessor::perform(const AssistInterface *i QList<GLSL::Symbol *> members; QStringList specialMembers; - QList<AssistProposalItem *> m_completions; + QList<AssistProposalItemInterface *> m_completions; bool functionCall = (ch == QLatin1Char('(') && pos == m_interface->position() - 1); |