C++ editor: Fix potential crash in completion

There was still a problem in the previous change (that's
why it was reverted) which should be fixed now.

Task-number: QTCREATORBUG-4940
Change-Id: I8a0d993b9f313fc98494cf93fed1f87939a358b1
Reviewed-on: http://codereview.qt.nokia.com/27
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
Leandro Melo
2011-05-19 18:02:09 +02:00
committed by Leandro T. C. Melo
parent c86e81c362
commit 956bac297b
2 changed files with 44 additions and 25 deletions

View File

@@ -133,7 +133,6 @@ private:
TextEditor::SnippetAssistCollector m_snippetCollector;
const CppCompletionAssistProvider *m_provider;
CPlusPlus::Icons m_icons;
CPlusPlus::TypeOfExpression typeOfExpression;
QStringList preprocessorCompletions;
QScopedPointer<CppAssistProposalModel> m_model;
TextEditor::IAssistProposal *m_hintProposal;