diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-21 17:39:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-23 00:05:15 +0200 |
commit | 9b3fc73ba6d6c3b25e33b400ce0baa7226d2e32e (patch) | |
tree | e30923de03276dfef9ef9d1a37578e6c04b52b2f /gui | |
parent | ac0b2beafe86bbeff20c81f58938ab22327e39e2 (diff) |
gui/mapping-window: now simplify construction
The spline's bundle's already initialized in mappings.hpp.
With simplified spline_widget::set_config it's no longer a problem.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/mapping-window.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gui/mapping-window.cpp b/gui/mapping-window.cpp index 47e12c31..e66603c7 100644 --- a/gui/mapping-window.cpp +++ b/gui/mapping-window.cpp @@ -59,10 +59,9 @@ void MapWidget::reload() Map& axis = m(qfcs[i].axis); spline& conf = altp ? axis.spline_alt : axis.spline_main; - const QString& name = altp ? axis.name2 : axis.name1; - bundle b = make_bundle(name); - conf.set_bundle(b); - qfcs[i].qfc->setConfig(&conf, b); + //const QString& name = altp ? axis.name2 : axis.name1; + //conf.set_bundle(make_bundle(name)); + qfcs[i].qfc->setConfig(&conf); if (altp) { |