mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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
This commit is contained in:
parent
71a5e435e6
commit
b34e9155db
1 changed files with 0 additions and 24 deletions
|
|
@ -987,30 +987,6 @@ RouteUI::solo_safe_active_state (boost::shared_ptr<Route> r)
|
||||||
void
|
void
|
||||||
RouteUI::update_solo_display ()
|
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 ();
|
bool yn = _route->solo_safe ();
|
||||||
|
|
||||||
if (solo_safe_check && solo_safe_check->get_active() != yn) {
|
if (solo_safe_check && solo_safe_check->get_active() != yn) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue