summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--spline-widget/qfunctionconfigurator.cpp2
-rw-r--r--spline-widget/qfunctionconfigurator.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/spline-widget/qfunctionconfigurator.cpp b/spline-widget/qfunctionconfigurator.cpp
index 3df9fc9c..8a5bda4d 100644
--- a/spline-widget/qfunctionconfigurator.cpp
+++ b/spline-widget/qfunctionconfigurator.cpp
@@ -15,8 +15,6 @@ using namespace options;
#include <cmath>
#include <algorithm>
-static const int pointSize = 5;
-
QFunctionConfigurator::QFunctionConfigurator(QWidget *parent) :
QWidget(parent),
_config(nullptr),
diff --git a/spline-widget/qfunctionconfigurator.h b/spline-widget/qfunctionconfigurator.h
index d4ba904a..ce8208a8 100644
--- a/spline-widget/qfunctionconfigurator.h
+++ b/spline-widget/qfunctionconfigurator.h
@@ -19,6 +19,7 @@ class SPLINE_WIDGET_EXPORT QFunctionConfigurator : public QWidget
{
Q_OBJECT
Q_PROPERTY(QColor colorBezier READ colorBezier WRITE setColorBezier)
+ enum { pointSize = 5 };
public:
QFunctionConfigurator(QWidget *parent = 0);