X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetDoubleValue.cpp;h=6b1f52ed35d161e778ccf891a49872adacddc8fb;hb=a2982d2108f929cf9e7f996cfd590c4ce59dc21c;hp=d6d6d65664c8ab14edb97d487d63a621780fdf68;hpb=12866ad4430e2c7b4fe186d7117291e7aa09a18e;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp b/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp index d6d6d6566..6b1f52ed3 100644 --- a/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp +++ b/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModuleBase_Widgets.h // Created: 04 June 2014 // Author: Vitaly Smetannikov @@ -19,7 +21,6 @@ #include #include #include -#include #include #include @@ -78,7 +79,7 @@ ModuleBase_WidgetDoubleValue::ModuleBase_WidgetDoubleValue(QWidget* theParent, mySpinBox->setSingleStep(aStepVal); } - aProp = theData->getProperty(ANY_WDG_DEFAULT); + aProp = theData->getProperty(ATTR_DEFAULT); double aDefVal = QString::fromStdString(aProp).toDouble(&isOk); if (isOk) { mySpinBox->setValue(aDefVal); @@ -123,7 +124,6 @@ bool ModuleBase_WidgetDoubleValue::restoreValue() QList ModuleBase_WidgetDoubleValue::getControls() const { QList aList; - aList.append(myLabel); aList.append(mySpinBox); return aList; }