summaryrefslogtreecommitdiffhomepage
path: root/migration/20171020_00-max-pitch-output.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-23 03:05:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:05:15 +0200
commita14eb45008af04bb262e80fd399d60394ae74e53 (patch)
tree803c53b1bb61c011e7f89c5b899464b3e996fa3e /migration/20171020_00-max-pitch-output.cpp
parent0d542e962f28b7e57bd3e21f4c8ff21f154f252b (diff)
spline: less deserialize points from qvariant
Diffstat (limited to 'migration/20171020_00-max-pitch-output.cpp')
-rw-r--r--migration/20171020_00-max-pitch-output.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/20171020_00-max-pitch-output.cpp b/migration/20171020_00-max-pitch-output.cpp
index 0699ac48..61df3967 100644
--- a/migration/20171020_00-max-pitch-output.cpp
+++ b/migration/20171020_00-max-pitch-output.cpp
@@ -49,7 +49,7 @@ struct max_pitch_output : migration
spline& pitch_spline_2 = pitch_map.spline_alt;
for (const spline& spl : { pitch_spline_1, pitch_spline_2 })
- for (QPointF& point : spl.get_points())
+ for (const QPointF& point : spl.get_points())
if (point.y() - 1e-2 > 90)
return true;