diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-29 18:45:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-29 18:45:20 +0000 |
commit | b34e9155db41c300c7f92af4d30351bcb98b00df (patch) | |
tree | dbfe8f30e9fb414000e79854464a0714d3dacf13 /gtk2_ardour/route_ui.cc | |
parent | 71a5e435e656d6226feaefc4fe40ceff4dd6deea (diff) |
remove apparently vestigial code from RouteUI::update_solo_display() that really could not/should not possibly have any effect because solo_button->set_active_state() is called unconditionally later in the function
git-svn-id: svn://localhost/ardour2/branches/3.0@11382 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 2257acd83e..3080755462 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -987,30 +987,6 @@ RouteUI::solo_safe_active_state (boost::shared_ptr<Route> r) void RouteUI::update_solo_display () { - bool x; - - if (Config->get_solo_control_is_listen_control()) { - - if ((bool) solo_button->active_state() != (x = _route->listening_via_monitor())) { - ++_i_am_the_modifier; - solo_button->set_active_state (Active); - --_i_am_the_modifier; - } - - } else { - - if ((bool) solo_button->active_state() != (x = _route->soloed())) { - ++_i_am_the_modifier; - if (x) { - solo_button->set_active_state (Active); - } else { - solo_button->unset_active_state(); - } - --_i_am_the_modifier; - } - - } - bool yn = _route->solo_safe (); if (solo_safe_check && solo_safe_check->get_active() != yn) { |