ProjectExplorer: Remove unused pointer member from EnvironmentAspectsWidget

Change-Id: I61ffc4e7f003212c8b0b4d2dfc187724ac4aabc8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2017-06-06 15:52:58 +02:00
parent ef72327495
commit aa0c2a5ef8
2 changed files with 5 additions and 7 deletions

View File

@@ -44,7 +44,6 @@ namespace ProjectExplorer {
EnvironmentAspectWidget::EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget) :
RunConfigWidget(),
m_aspect(aspect),
m_ignoreChange(false),
m_additionalWidget(additionalWidget)
{
QTC_CHECK(m_aspect);

View File

@@ -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