diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 03:09:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 03:09:09 +0100 |
commit | ff0d3aefe8d14796f636b890595f12b5b08d6d2f (patch) | |
tree | f9b2483b5926c6e7627f49aaf4121463b20a31b1 /migration | |
parent | cb5873922f4528b80d40e13b05bd7590421d79ee (diff) |
spline-widget: remove camel case
My eyes bleed a bit less
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); } } |