Remove unused variable
`ignore_toggle` is never set to true.
This commit is contained in:
parent
42aef22e17
commit
9b4d330285
|
@ -99,8 +99,6 @@ AudioTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
|
||||
subplugin_menu.set_name ("ArdourContextMenu");
|
||||
|
||||
ignore_toggle = false;
|
||||
|
||||
if (is_audio_track()) {
|
||||
controls_ebox.set_name ("AudioTrackControlsBaseUnselected");
|
||||
time_axis_frame.set_name ("AudioTrackControlsBaseUnselected");
|
||||
|
|
|
@ -367,7 +367,6 @@ FoldbackStrip::init ()
|
|||
{
|
||||
_entered_foldback_strip= 0;
|
||||
ignore_comment_edit = false;
|
||||
ignore_toggle = false;
|
||||
comment_area = 0;
|
||||
|
||||
_previous_button.set_name ("mixer strip button");
|
||||
|
@ -844,10 +843,6 @@ FoldbackStrip::output_press (GdkEventButton *ev)
|
|||
void
|
||||
FoldbackStrip::bundle_output_chosen (boost::shared_ptr<ARDOUR::Bundle> c)
|
||||
{
|
||||
if (ignore_toggle) {
|
||||
return;
|
||||
}
|
||||
|
||||
_route->output()->connect_ports_to_bundle (c, true, true, this);
|
||||
}
|
||||
|
||||
|
|
|
@ -181,8 +181,6 @@ MidiTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
_view->ContentsHeightChanged.connect (
|
||||
sigc::mem_fun (*this, &MidiTimeAxisView::contents_height_changed));
|
||||
|
||||
ignore_toggle = false;
|
||||
|
||||
if (is_midi_track()) {
|
||||
_note_mode = midi_track()->note_mode();
|
||||
}
|
||||
|
|
|
@ -176,7 +176,6 @@ MixerStrip::init ()
|
|||
group_menu = 0;
|
||||
route_ops_menu = 0;
|
||||
ignore_comment_edit = false;
|
||||
ignore_toggle = false;
|
||||
comment_area = 0;
|
||||
_width_owner = 0;
|
||||
|
||||
|
@ -1124,20 +1123,12 @@ MixerStrip::input_press (GdkEventButton *ev)
|
|||
void
|
||||
MixerStrip::bundle_input_chosen (boost::shared_ptr<ARDOUR::Bundle> c)
|
||||
{
|
||||
if (ignore_toggle) {
|
||||
return;
|
||||
}
|
||||
|
||||
_route->input()->connect_ports_to_bundle (c, true, this);
|
||||
}
|
||||
|
||||
void
|
||||
MixerStrip::bundle_output_chosen (boost::shared_ptr<ARDOUR::Bundle> c)
|
||||
{
|
||||
if (ignore_toggle) {
|
||||
return;
|
||||
}
|
||||
|
||||
_route->output()->connect_ports_to_bundle (c, true, true, this);
|
||||
}
|
||||
|
||||
|
|
|
@ -178,8 +178,6 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
timestretch_rect = 0;
|
||||
no_redraw = false;
|
||||
|
||||
ignore_toggle = false;
|
||||
|
||||
route_group_button.set_name ("route button");
|
||||
playlist_button.set_name ("route button");
|
||||
automation_button.set_name ("route button");
|
||||
|
|
|
@ -1750,10 +1750,6 @@ RouteUI::route_rename ()
|
|||
void
|
||||
RouteUI::toggle_comment_editor ()
|
||||
{
|
||||
// if (ignore_toggle) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (comment_window && comment_window->is_visible ()) {
|
||||
comment_window->hide ();
|
||||
} else {
|
||||
|
|
|
@ -122,7 +122,6 @@ public:
|
|||
|
||||
void select_midi_patch ();
|
||||
|
||||
bool ignore_toggle;
|
||||
bool wait_for_release;
|
||||
bool multiple_mute_change;
|
||||
bool multiple_solo_change;
|
||||
|
|
Loading…
Reference in New Issue