forked from qt-creator/qt-creator
TextEditor: Initialize all members
Creator can start to shutdown before initialize is called. This should be safe here right now, but let's not take chances in case somebody refactors this later. Change-Id: I961c215b8dffc92cf90d9f83e91b0b3034772077 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -71,8 +71,6 @@ static const char kCurrentDocumentFontSize[] = "CurrentDocument:FontSize";
|
||||
static TextEditorPlugin *m_instance = 0;
|
||||
|
||||
TextEditorPlugin::TextEditorPlugin()
|
||||
: m_settings(0),
|
||||
m_lineNumberFilter(0)
|
||||
{
|
||||
QTC_ASSERT(!m_instance, return);
|
||||
m_instance = this;
|
||||
|
||||
Reference in New Issue
Block a user