FEM: move to new style connect()

This commit is contained in:
wmayer
2023-01-15 22:23:53 +01:00
parent a9b9899846
commit 32bbdb0ab2
5 changed files with 14 additions and 12 deletions

View File

@@ -58,8 +58,8 @@ TaskFemConstraintForce::TaskFemConstraintForce(ViewProviderFemConstraintForce* C
// create a context menu for the listview of the references
createDeleteAction(ui->listReferences);
deleteAction->connect(deleteAction, SIGNAL(triggered()), this, SLOT(onReferenceDeleted()));
connect(deleteAction, &QAction::triggered,
this, &TaskFemConstraintForce::onReferenceDeleted);
connect(ui->spinForce, qOverload<double>(&Gui::QuantitySpinBox::valueChanged),
this, &TaskFemConstraintForce::onForceChanged);
connect(ui->buttonDirection, &QToolButton::clicked,