From ff0d3aefe8d14796f636b890595f12b5b08d6d2f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Jan 2017 03:09:09 +0100 Subject: spline-widget: remove camel case My eyes bleed a bit less --- migration/20160906_00-mappings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'migration') 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& points = old_mappings[i]; for (const QPointF& pt : points) - spl.addPoint(pt); + spl.add_point(pt); spl.save(s); } } -- cgit v1.2.3