forked from qt-creator/qt-creator
ProjectExplorer: Remove unused pointer member from EnvironmentAspectsWidget
Change-Id: I61ffc4e7f003212c8b0b4d2dfc187724ac4aabc8 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -44,7 +44,6 @@ namespace ProjectExplorer {
|
|||||||
EnvironmentAspectWidget::EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget) :
|
EnvironmentAspectWidget::EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget) :
|
||||||
RunConfigWidget(),
|
RunConfigWidget(),
|
||||||
m_aspect(aspect),
|
m_aspect(aspect),
|
||||||
m_ignoreChange(false),
|
|
||||||
m_additionalWidget(additionalWidget)
|
m_additionalWidget(additionalWidget)
|
||||||
{
|
{
|
||||||
QTC_CHECK(m_aspect);
|
QTC_CHECK(m_aspect);
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class PROJECTEXPLORER_EXPORT EnvironmentAspectWidget : public RunConfigWidget
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget = 0);
|
explicit EnvironmentAspectWidget(EnvironmentAspect *aspect, QWidget *additionalWidget = nullptr);
|
||||||
|
|
||||||
QString displayName() const override;
|
QString displayName() const override;
|
||||||
virtual EnvironmentAspect *aspect() const;
|
virtual EnvironmentAspect *aspect() const;
|
||||||
@@ -65,12 +65,11 @@ private:
|
|||||||
void environmentChanged();
|
void environmentChanged();
|
||||||
|
|
||||||
EnvironmentAspect *m_aspect;
|
EnvironmentAspect *m_aspect;
|
||||||
bool m_ignoreChange;
|
bool m_ignoreChange = false;
|
||||||
|
|
||||||
QWidget *m_additionalWidget;
|
QWidget *m_additionalWidget = nullptr;
|
||||||
QComboBox *m_baseEnvironmentComboBox;
|
QComboBox *m_baseEnvironmentComboBox = nullptr;
|
||||||
Utils::DetailsWidget *m_detailsContainer;
|
EnvironmentWidget *m_environmentWidget = nullptr;
|
||||||
EnvironmentWidget *m_environmentWidget;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ProjectExplorer
|
} // namespace ProjectExplorer
|
||||||
|
|||||||
Reference in New Issue
Block a user