remove apparently vestigial code from RouteUI::update_solo_display() that really...
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 29 Jan 2012 18:45:20 +0000 (18:45 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 29 Jan 2012 18:45:20 +0000 (18:45 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11382 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/route_ui.cc

index 2257acd83e66b7c7afff56ad72df8442a52b01c9..3080755462e12361bda9284b388822e4ae74a8e5 100644 (file)
@@ -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) {