diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-19 14:16:49 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-19 14:16:49 -0500 |
commit | fe3d85b2046cf9e0d016e3b8c070c2e5914419c6 (patch) | |
tree | f4598f2e574b085bf58249c86684673b38b5719d /libs/surfaces | |
parent | a9ec547457bfa65655ee946063426f1ba85b6f91 (diff) |
Revert "mackie: still respond to route groups visibility changes"
This reverts commit a9ec547457bfa65655ee946063426f1ba85b6f91.
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/mackie/mackie_control_protocol.cc | 13 | ||||
-rw-r--r-- | libs/surfaces/mackie/mackie_control_protocol.h | 1 |
2 files changed, 1 insertions, 13 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc index e95b50b011..4256d9780a 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.cc +++ b/libs/surfaces/mackie/mackie_control_protocol.cc @@ -704,7 +704,7 @@ MackieControlProtocol::connect_session_signals() // receive rude solo changed session->SoloActive.connect(session_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_solo_active_changed, this, _1), this); // need to know if group parameters change... might be hidden. - session->RouteGroupPropertyChanged.connect(session_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_group_property_changed, this, _2), this); + session->RouteGroupPropertyChanged.connect(session_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_remote_id_changed, this), this); // make sure remote id changed signals reach here // see also notify_route_added @@ -1259,17 +1259,6 @@ MackieControlProtocol::notify_solo_active_changed (bool active) } void -MackieControlProtocol::notify_group_property_changed (PropertyChange pc) -{ - if (!pc.contains (Properties::hidden)) { - return; - } - - /* re-pick routes to show, as if remote ID(s) had changed */ - notify_remote_id_changed (); -} - -void MackieControlProtocol::notify_remote_id_changed() { { diff --git a/libs/surfaces/mackie/mackie_control_protocol.h b/libs/surfaces/mackie/mackie_control_protocol.h index df758074be..55696f4a3c 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.h +++ b/libs/surfaces/mackie/mackie_control_protocol.h @@ -208,7 +208,6 @@ class MackieControlProtocol void notify_route_added_or_removed (); void notify_route_added (ARDOUR::RouteList &); void notify_remote_id_changed(); - void notify_group_property_changed (PBD::PropertyChange); void recalibrate_faders (); void toggle_backlight (); |