diff options
Diffstat (limited to 'migration')
-rw-r--r-- | migration/20160906_00-mappings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/20160906_00-mappings.cpp b/migration/20160906_00-mappings.cpp index 65759dec..58674843 100644 --- a/migration/20160906_00-mappings.cpp +++ b/migration/20160906_00-mappings.cpp @@ -100,10 +100,10 @@ struct mappings_from_2_3_0_rc11 : migration for (int i = 0; i < 12; i++) { spline& spl = (i % 2) == 0 ? m(i / 2).spline_main : m(i / 2).spline_alt; - spl.removeAllPoints(); + spl.clear(); const QList<QPointF>& points = old_mappings[i]; for (const QPointF& pt : points) - spl.addPoint(pt); + spl.add_point(pt); spl.save(s); } } |