+ code clean-up
This commit is contained in:
parent
4e29db90c6
commit
a59b915132
|
@ -55,9 +55,6 @@ MeshGui::DlgRegularSolidImp::DlgRegularSolidImp(QWidget* parent, Qt::WindowFlags
|
||||||
: QDialog( parent, fl )
|
: QDialog( parent, fl )
|
||||||
{
|
{
|
||||||
this->setupUi(this);
|
this->setupUi(this);
|
||||||
QList<QDoubleSpinBox*> list = this->findChildren<QDoubleSpinBox*>();
|
|
||||||
for (QList<QDoubleSpinBox*>::iterator it = list.begin(); it != list.end(); ++it)
|
|
||||||
(*it)->setDecimals(Base::UnitsApi::getDecimals());
|
|
||||||
Gui::Command::doCommand(Gui::Command::Doc, "import Mesh,BuildRegularGeoms");
|
Gui::Command::doCommand(Gui::Command::Doc, "import Mesh,BuildRegularGeoms");
|
||||||
|
|
||||||
// set limits
|
// set limits
|
||||||
|
|
|
@ -663,9 +663,6 @@ void DlgPrimitives::createPrimitive(const QString& placement)
|
||||||
Location::Location(QWidget* parent)
|
Location::Location(QWidget* parent)
|
||||||
{
|
{
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
QList<QDoubleSpinBox*> list = this->findChildren<QDoubleSpinBox*>();
|
|
||||||
for (QList<QDoubleSpinBox*>::iterator it = list.begin(); it != list.end(); ++it)
|
|
||||||
(*it)->setDecimals(Base::UnitsApi::getDecimals());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Location::~Location()
|
Location::~Location()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user