Salome HOME
Issue #559: Control doesn't have variable if its text is empty
[modules/shaper.git] / src / ModuleBase / ModuleBase_DoubleSpinBox.h
index 11de54784dfbf2e450ba148094a9d01d1cbe7b20..555cafc36fdeec085b8444ba80c27f7a384732e3 100644 (file)
@@ -1,7 +1,7 @@
 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 
 // File:      ModuleBase_DoubleSpinBox.h
-// Author:    Sergey TELKOV
+// Author:    Sergey BELASH
 //
 #ifndef MODULEBASE_DOUBLESPINBOX_H_
 #define MODULEBASE_DOUBLESPINBOX_H_
@@ -21,7 +21,7 @@ class MODULEBASE_EXPORT ModuleBase_DoubleSpinBox : public QDoubleSpinBox
 Q_OBJECT
 
  public:
-  ModuleBase_DoubleSpinBox(QWidget* theParent = 0, int thePrecision = 6);
+  explicit ModuleBase_DoubleSpinBox(QWidget* theParent = 0, int thePrecision = 6);
   virtual ~ModuleBase_DoubleSpinBox();
 
   /// Returns true if the control is clear