projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b540817
)
Use PBD::string_to<bool> in MidiTimeAxisView class
author
Tim Mayberry
<mojofunk@gmail.com>
Tue, 30 Aug 2016 12:34:40 +0000
(22:34 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 23:36:59 +0000
(09:36 +1000)
As the conversion was performed with PBD::to_string
gtk2_ardour/midi_time_axis.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_time_axis.cc
b/gtk2_ardour/midi_time_axis.cc
index fcd4255a58d7d82093ee1aa2142786ae759a05aa..524cacc35d8ba7e81ce68d47282a0c92ebbf4dba 100644
(file)
--- a/
gtk2_ardour/midi_time_axis.cc
+++ b/
gtk2_ardour/midi_time_axis.cc
@@
-314,7
+314,7
@@
MidiTimeAxisView::set_route (boost::shared_ptr<Route> rt)
*i, route_id, has_parameter, parameter);
if (p && route_id == _route->id () && has_parameter) {
const std::string& visible = gui_object_state().get_string (*i, X_("visible"));
- create_automation_child (parameter, string_
is_affirmative
(visible));
+ create_automation_child (parameter, string_
to<bool>
(visible));
}
}
}