+ code clean-up

This commit is contained in:
wmayer 2016-02-28 19:01:23 +01:00
parent 4e29db90c6
commit a59b915132
2 changed files with 0 additions and 6 deletions

View File

@ -55,9 +55,6 @@ MeshGui::DlgRegularSolidImp::DlgRegularSolidImp(QWidget* parent, Qt::WindowFlags
: QDialog( parent, fl )
{
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");
// set limits

View File

@ -663,9 +663,6 @@ void DlgPrimitives::createPrimitive(const QString& placement)
Location::Location(QWidget* parent)
{
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()