TextEditor: Initialize some members

Coverity was complaining about these, in some places even rightly so:-)

Change-Id: Ia85cdd2c74f05edba6f0d4534aa9f2ee2a750595
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Tobias Hunger
2017-07-18 23:15:52 +02:00
parent 2f0a395017
commit 7d33f0f061
10 changed files with 27 additions and 32 deletions

View File

@@ -54,11 +54,11 @@ public:
IAssistProposal *proposal() const;
private:
IAssistProcessor *m_processor;
AssistInterface *m_interface;
bool m_discardProposal;
IAssistProposal *m_proposal;
AssistReason m_reason;
IAssistProcessor *m_processor = nullptr;
AssistInterface *m_interface = nullptr;
bool m_discardProposal = false;
IAssistProposal *m_proposal = nullptr;
AssistReason m_reason = IdleEditor;
};
} // Internal