Commit 623a9fc6 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ProjectExplorer: Use member initialization in BuildStepsPage



Change-Id: I2834d3825b2737d036912e0d4b72fb57a926d139
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent f86ea447
......@@ -193,11 +193,8 @@ BuildStepsWidgetData::~BuildStepsWidgetData()
}
BuildStepListWidget::BuildStepListWidget(QWidget *parent) :
NamedWidget(parent),
m_buildStepList(0),
m_addButton(0)
{
}
NamedWidget(parent)
{ }
BuildStepListWidget::~BuildStepListWidget()
{
......
......@@ -115,16 +115,14 @@ private:
void updateBuildStepButtonsState();
void addBuildStepWidget(int pos, BuildStep *step);
BuildStepList *m_buildStepList;
BuildStepList *m_buildStepList = nullptr;
QList<Internal::BuildStepsWidgetData *> m_buildStepsData;
QVBoxLayout *m_vbox;
QVBoxLayout *m_vbox = nullptr;
QLabel *m_noStepsLabel;
QPushButton *m_addButton;
int m_leftMargin;
QLabel *m_noStepsLabel = nullptr;
QPushButton *m_addButton = nullptr;
};
namespace Ui { class BuildStepsPage; }
......
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