Mesh: modernize C++: use equals default
This commit is contained in:
@@ -211,9 +211,7 @@ RemoveComponentsDialog::RemoveComponentsDialog(QWidget* parent, Qt::WindowFlags
|
||||
hboxLayout->addWidget(buttonBox);
|
||||
}
|
||||
|
||||
RemoveComponentsDialog::~RemoveComponentsDialog()
|
||||
{
|
||||
}
|
||||
RemoveComponentsDialog::~RemoveComponentsDialog() = default;
|
||||
|
||||
void RemoveComponentsDialog::reject()
|
||||
{
|
||||
@@ -249,11 +247,6 @@ TaskRemoveComponents::TaskRemoveComponents()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskRemoveComponents::~TaskRemoveComponents()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
void TaskRemoveComponents::modifyStandardButtons(QDialogButtonBox* box)
|
||||
{
|
||||
QPushButton* btn = box->button(QDialogButtonBox::Ok);
|
||||
|
||||
Reference in New Issue
Block a user