Skip to content

Commit

Permalink
[FEM] TaskFemConstraintTemperature: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
donovaly committed Mar 28, 2023
1 parent 39c497e commit 548f9ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp
Expand Up @@ -108,11 +108,6 @@ TaskFemConstraintTemperature::TaskFemConstraintTemperature(
connect(ui->rb_temperature, &QRadioButton::clicked, this, &TaskFemConstraintTemperature::Temp);
connect(ui->rb_cflux, &QRadioButton::clicked, this, &TaskFemConstraintTemperature::Flux);

connect(ui->if_temperature,
qOverload<double>(&QuantitySpinBox::valueChanged),
this,
&TaskFemConstraintTemperature::onTempCfluxChanged);

// Selection buttons
buttonGroup->addButton(ui->btnAdd, (int)SelectionChangeModes::refAdd);
buttonGroup->addButton(ui->btnRemove, (int)SelectionChangeModes::refRemove);
Expand All @@ -132,10 +127,6 @@ void TaskFemConstraintTemperature::updateUI()
}
}

void TaskFemConstraintTemperature::onTempCfluxChanged(double val)
{
}

void TaskFemConstraintTemperature::Temp()
{
Fem::ConstraintTemperature* pcConstraint =

Check warning on line 132 in src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp

View workflow job for this annotation

GitHub Actions / Lint / Lint

use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
Expand Down
1 change: 0 additions & 1 deletion src/Mod/Fem/Gui/TaskFemConstraintTemperature.h
Expand Up @@ -53,7 +53,6 @@ class TaskFemConstraintTemperature : public TaskFemConstraintOnBoundary

private Q_SLOTS:
void onReferenceDeleted();
void onTempCfluxChanged(double val);
void Temp();
void Flux();
void addToSelection() override;
Expand Down

0 comments on commit 548f9ce

Please sign in to comment.