Mesh: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-21 17:46:03 +02:00
committed by wwmayer
parent 68bf28bea7
commit d11fdf3ba9
83 changed files with 201 additions and 809 deletions

View File

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