PD: Remove unneeded class member 'isApplying' from 'TaskHoleParameters'
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -143,7 +143,6 @@ private:
|
||||
Connection connectPropChanged;
|
||||
|
||||
std::unique_ptr<Observer> observer;
|
||||
bool isApplying;
|
||||
QWidget* proxy;
|
||||
std::unique_ptr<Ui_TaskHoleParameters> ui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user