diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-06-01 13:32:23 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-06-01 13:33:21 +0000 |
commit | 39dea0979463fa834d99b76c6d286c0cb045f4d3 (patch) | |
tree | 922b7138accebdd5df533f61c730cfb0aa0adea3 /src/plugins/cppeditor/cpptypehierarchy.h | |
parent | a3a62e78f7378182138555936b45a885865c00ad (diff) |
CppEditor: Fix uninitialized value warnings
...from coverity scan.
Change-Id: I1b1fb919e77f1407fe2e4319392c28413a296493
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cpptypehierarchy.h')
-rw-r--r-- | src/plugins/cppeditor/cpptypehierarchy.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/cppeditor/cpptypehierarchy.h b/src/plugins/cppeditor/cpptypehierarchy.h index 9d9f4031dd..125fb58338 100644 --- a/src/plugins/cppeditor/cpptypehierarchy.h +++ b/src/plugins/cppeditor/cpptypehierarchy.h @@ -87,14 +87,14 @@ private: void clearTypeHierarchy(); void onItemActivated(const QModelIndex &index); - CppEditorWidget *m_cppEditor; - Utils::NavigationTreeView *m_treeView; - QWidget *m_hierarchyWidget; - QStackedLayout *m_stackLayout; - QStandardItemModel *m_model; - Utils::AnnotatedItemDelegate *m_delegate; - TextEditor::TextEditorLinkLabel *m_inspectedClass; - QLabel *m_noTypeHierarchyAvailableLabel; + CppEditorWidget *m_cppEditor = nullptr; + Utils::NavigationTreeView *m_treeView = nullptr; + QWidget *m_hierarchyWidget = nullptr; + QStackedLayout *m_stackLayout = nullptr; + QStandardItemModel *m_model = nullptr; + Utils::AnnotatedItemDelegate *m_delegate = nullptr; + TextEditor::TextEditorLinkLabel *m_inspectedClass = nullptr; + QLabel *m_noTypeHierarchyAvailableLabel = nullptr; }; class CppTypeHierarchyFactory : public Core::INavigationWidgetFactory |