summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-tobii-eyex/tobii-settings.cpp')
-rw-r--r--tracker-tobii-eyex/tobii-settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-tobii-eyex/tobii-settings.cpp b/tracker-tobii-eyex/tobii-settings.cpp
index 0dcb377f..406f10ed 100644
--- a/tracker-tobii-eyex/tobii-settings.cpp
+++ b/tracker-tobii-eyex/tobii-settings.cpp
@@ -95,7 +95,7 @@ double rel_settings::gain(double value)
void rel_settings::make_spline_(part* functors, unsigned len)
{
- acc_mode_spline.removeAllPoints();
+ acc_mode_spline.clear();
double lastx = 0;
@@ -111,7 +111,7 @@ void rel_settings::make_spline_(part* functors, unsigned len)
const double y = clamp(fun.f(x), 0, 1);
if (i == nparts/2)
qDebug() << k << i << x << y;
- acc_mode_spline.addPoint((lastx + x) * spline_max, y * spline_max);
+ acc_mode_spline.add_point((lastx + x) * spline_max, y * spline_max);
}
lastx += fun.len;