forked from qt-creator/qt-creator
QmlJSEditor: use direct member initialization
Change-Id: I03aada10107a9d80d920d18c92df7ec36e6a22d4 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -455,12 +455,9 @@ namespace QmlJSEditor {
|
||||
namespace Internal {
|
||||
|
||||
QmlJSEditorDocumentPrivate::QmlJSEditorDocumentPrivate(QmlJSEditorDocument *parent)
|
||||
: q(parent),
|
||||
m_semanticInfoDocRevision(-1),
|
||||
m_semanticHighlighter(new SemanticHighlighter(parent)),
|
||||
m_semanticHighlightingNecessary(false),
|
||||
m_outlineModelNeedsUpdate(false),
|
||||
m_outlineModel(new QmlOutlineModel(parent))
|
||||
: q(parent)
|
||||
, m_semanticHighlighter(new SemanticHighlighter(parent))
|
||||
, m_outlineModel(new QmlOutlineModel(parent))
|
||||
{
|
||||
ModelManagerInterface *modelManager = ModelManagerInterface::instance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user