From b34e9155db41c300c7f92af4d30351bcb98b00df Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 29 Jan 2012 18:45:20 +0000 Subject: [PATCH] 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 --- gtk2_ardour/route_ui.cc | 24 ------------------------ 1 file changed, 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 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) {