From e0560656be8a473983f99c63d74e542a0fb64022 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Wed, 6 Dec 2023 08:40:36 +0100
Subject: [PATCH] mv fct def

---
 GUI/View/Numeric/DoubleSpinBox.cpp | 5 +++++
 GUI/View/Numeric/DoubleSpinBox.h   | 5 +----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/GUI/View/Numeric/DoubleSpinBox.cpp b/GUI/View/Numeric/DoubleSpinBox.cpp
index a5385ba24af..fa989e7fb85 100644
--- a/GUI/View/Numeric/DoubleSpinBox.cpp
+++ b/GUI/View/Numeric/DoubleSpinBox.cpp
@@ -54,6 +54,11 @@ DoubleSpinBox::DoubleSpinBox(DoubleProperty& d)
     // setSingleStep(m_valueProperty.step());
 }
 
+QAbstractSpinBox::StepEnabled DoubleSpinBox::stepEnabled() const
+{
+    return StepUpEnabled | StepDownEnabled;
+}
+
 void DoubleSpinBox::setValue(double val)
 {
     m_valueProperty.setValue(val);
diff --git a/GUI/View/Numeric/DoubleSpinBox.h b/GUI/View/Numeric/DoubleSpinBox.h
index 509491039a4..60e184f249c 100644
--- a/GUI/View/Numeric/DoubleSpinBox.h
+++ b/GUI/View/Numeric/DoubleSpinBox.h
@@ -42,10 +42,7 @@ signals:
     void valueChanged(double value);
 
 private:
-    QAbstractSpinBox::StepEnabled stepEnabled() const override
-    {
-        return StepUpEnabled | StepDownEnabled;
-    }
+    QAbstractSpinBox::StepEnabled stepEnabled() const override;
     void setValue(double val);
     void wheelEvent(QWheelEvent* event) override;
     void stepBy(int steps) override;
-- 
GitLab