summaryrefslogtreecommitdiffhomepage
path: root/migration/20160906_00-mappings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:09:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:09:09 +0100
commitff0d3aefe8d14796f636b890595f12b5b08d6d2f (patch)
treef9b2483b5926c6e7627f49aaf4121463b20a31b1 /migration/20160906_00-mappings.cpp
parentcb5873922f4528b80d40e13b05bd7590421d79ee (diff)
spline-widget: remove camel case
My eyes bleed a bit less
Diffstat (limited to 'migration/20160906_00-mappings.cpp')
-rw-r--r--migration/20160906_00-mappings.cpp4
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);
}
}