diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-06-06 15:52:58 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-06-12 08:50:23 +0000 |
commit | aa0c2a5ef828867e3777b447adf21df7fb3063a9 (patch) | |
tree | 74e31f5f81d4a752c607edfcb7f0c523f6b881b0 /src/plugins/projectexplorer/environmentaspectwidget.h | |
parent | ef7232749552336168215d4bd2a95981e4402a9c (diff) |
ProjectExplorer: Remove unused pointer member from EnvironmentAspectsWidget
Change-Id: I61ffc4e7f003212c8b0b4d2dfc187724ac4aabc8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/environmentaspectwidget.h')
-rw-r--r-- | src/plugins/projectexplorer/environmentaspectwidget.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/environmentaspectwidget.h b/src/plugins/projectexplorer/environmentaspectwidget.h index c983373c3df..55bf8fefaa9 100644 --- a/src/plugins/projectexplorer/environmentaspectwidget.h +++ b/src/plugins/projectexplorer/environmentaspectwidget.h @@ -50,7 +50,7 @@ class PROJECTEXPLORER_EXPORT EnvironmentAspectWidget : public RunConfigWidget Q_OBJECT public: - explicit EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget = 0); + explicit EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget = nullptr); QString displayName() const override; virtual EnvironmentAspect *aspect() const; @@ -65,12 +65,11 @@ private: void environmentChanged(); EnvironmentAspect *m_aspect; - bool m_ignoreChange; + bool m_ignoreChange = false; - QWidget *m_additionalWidget; - QComboBox *m_baseEnvironmentComboBox; - Utils::DetailsWidget *m_detailsContainer; - EnvironmentWidget *m_environmentWidget; + QWidget *m_additionalWidget = nullptr; + QComboBox *m_baseEnvironmentComboBox = nullptr; + EnvironmentWidget *m_environmentWidget = nullptr; }; } // namespace ProjectExplorer |