Salome HOME
Issue #2863: Use Utf8 string for file selector
[modules/shaper.git] / src / ModuleBase / ModuleBase_ParamSpinBox.h
index 7e33da9c693b911267cd86bb33c2dae083efcf40..8437b746cc8967641c7de81f8cbf7b7316f72795 100644 (file)
@@ -104,6 +104,9 @@ protected:
 
   virtual bool eventFilter(QObject* theObj, QEvent* theEvent);
 
+  /// The virtual function is reimplemented in order to avoid extra increasing of value by StepBy
+  /// method
+  virtual void timerEvent(QTimerEvent *event) {}
 
   virtual StepEnabled stepEnabled() const { return StepUpEnabled | StepDownEnabled; }
 
@@ -149,7 +152,6 @@ private:
 
   QStringListModel* myCompleterModel;
   QCompleter* myCompleter;
-  int myPrecision;
 
   double myMinimum;
   double myMaximum;