From 2094a7a3e96c136bedc74a8c9e18dfcda8051c56 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Jan 2017 03:10:45 +0100 Subject: tracker/tobii: i don't know what this is but sadly it's still broken --- tracker-tobii-eyex/tobii-settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-tobii-eyex/tobii-settings.cpp') 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; -- cgit v1.2.3