Commit aa0c2a5e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ProjectExplorer: Remove unused pointer member from EnvironmentAspectsWidget



Change-Id: I61ffc4e7f003212c8b0b4d2dfc187724ac4aabc8
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent ef723274
......@@ -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);
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment