QmlJSEditor: use direct member initialization

Change-Id: I03aada10107a9d80d920d18c92df7ec36e6a22d4
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Tim Jenssen
2017-03-31 12:19:48 +02:00
parent cff6a97a9b
commit 99f2fc9b45
6 changed files with 23 additions and 33 deletions

View File

@@ -85,14 +85,14 @@ private:
bool syncCursor();
private:
QmlJSOutlineTreeView *m_treeView;
QmlJSOutlineFilterModel *m_filterModel;
QmlJSEditorWidget *m_editor;
QmlJSOutlineTreeView *m_treeView = nullptr;
QmlJSOutlineFilterModel *m_filterModel = nullptr;
QmlJSEditorWidget *m_editor = nullptr;
QAction *m_showBindingsAction;
QAction *m_showBindingsAction = nullptr;
bool m_enableCursorSync;
bool m_blockCursorSync;
bool m_enableCursorSync = true;
bool m_blockCursorSync = false;
};
class QmlJSOutlineWidgetFactory : public TextEditor::IOutlineWidgetFactory