summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-settings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:10:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:10:45 +0100
commit2094a7a3e96c136bedc74a8c9e18dfcda8051c56 (patch)
tree5d1d5b0eb4bd8759f434e0e7b5b20792224ff4cb /tracker-tobii-eyex/tobii-settings.cpp
parent01210b7fba37356ee2c18420762eeeed52489d20 (diff)
tracker/tobii: i don't know what this is but sadly it's still broken
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;