PD: Remove unneeded class member 'isApplying' from 'TaskHoleParameters'

This commit is contained in:
wmayer
2025-05-18 23:06:10 +02:00
committed by Ladislav Michl
parent f7e22f339c
commit b3eb32258c
2 changed files with 0 additions and 6 deletions

View File

@@ -57,7 +57,6 @@ namespace sp = std::placeholders;
TaskHoleParameters::TaskHoleParameters(ViewProviderHole* HoleView, QWidget* parent)
: TaskSketchBasedParameters(HoleView, parent, "PartDesign_Hole", tr("Hole Parameters"))
, observer(new Observer(this, getObject<PartDesign::Hole>()))
, isApplying(false)
, ui(new Ui_TaskHoleParameters)
{
// we need a separate container widget to add all controls to
@@ -1087,8 +1086,6 @@ void TaskHoleParameters::apply()
{
auto hole = getObject<PartDesign::Hole>();
isApplying = true;
ui->Diameter->apply();
ui->HoleCutDiameter->apply();
ui->HoleCutDepth->apply();
@@ -1152,8 +1149,6 @@ void TaskHoleParameters::apply()
if (!hole->BaseProfileType.isReadOnly()) {
FCMD_OBJ_CMD(hole, "BaseProfileType = " << getBaseProfileType());
}
isApplying = false;
}
void TaskHoleParameters::updateHoleCutLimits(PartDesign::Hole* hole)

View File

@@ -143,7 +143,6 @@ private:
Connection connectPropChanged;
std::unique_ptr<Observer> observer;
bool isApplying;
QWidget* proxy;
std::unique_ptr<Ui_TaskHoleParameters> ui;