diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/route_group.h | 4 | ||||
-rw-r--r-- | libs/ardour/route_group.cc | 17 |
2 files changed, 0 insertions, 21 deletions
diff --git a/libs/ardour/ardour/route_group.h b/libs/ardour/ardour/route_group.h index 890bf8af40..1f12c57f8d 100644 --- a/libs/ardour/ardour/route_group.h +++ b/libs/ardour/ardour/route_group.h @@ -42,7 +42,6 @@ namespace Properties { extern PBD::PropertyDescriptor<bool> solo; extern PBD::PropertyDescriptor<bool> recenable; extern PBD::PropertyDescriptor<bool> select; - extern PBD::PropertyDescriptor<bool> edit; extern PBD::PropertyDescriptor<bool> route_active; extern PBD::PropertyDescriptor<bool> color; extern PBD::PropertyDescriptor<bool> monitoring; @@ -71,7 +70,6 @@ class RouteGroup : public SessionObject bool is_solo () const { return _solo.val(); } bool is_recenable () const { return _recenable.val(); } bool is_select () const { return _select.val(); } - bool is_edit () const { return _edit.val(); } bool is_route_active () const { return _route_active.val(); } bool is_color () const { return _color.val(); } bool is_monitoring() const { return _monitoring.val(); } @@ -91,7 +89,6 @@ class RouteGroup : public SessionObject void set_solo (bool yn); void set_recenable (bool yn); void set_select (bool yn); - void set_edit (bool yn); void set_route_active (bool yn); void set_color (bool yn); void set_monitoring (bool yn); @@ -147,7 +144,6 @@ private: PBD::Property<bool> _solo; PBD::Property<bool> _recenable; PBD::Property<bool> _select; - PBD::Property<bool> _edit; PBD::Property<bool> _route_active; PBD::Property<bool> _color; PBD::Property<bool> _monitoring; diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc index ed684d3c9f..55183bd0b8 100644 --- a/libs/ardour/route_group.cc +++ b/libs/ardour/route_group.cc @@ -46,7 +46,6 @@ namespace ARDOUR { PropertyDescriptor<bool> solo; PropertyDescriptor<bool> recenable; PropertyDescriptor<bool> select; - PropertyDescriptor<bool> edit; PropertyDescriptor<bool> route_active; PropertyDescriptor<bool> color; PropertyDescriptor<bool> monitoring; @@ -72,8 +71,6 @@ RouteGroup::make_property_quarks () DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for recenable = %1\n", Properties::recenable.property_id)); Properties::select.property_id = g_quark_from_static_string (X_("select")); DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for select = %1\n", Properties::select.property_id)); - Properties::edit.property_id = g_quark_from_static_string (X_("edit")); - DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for edit = %1\n", Properties::edit.property_id)); Properties::route_active.property_id = g_quark_from_static_string (X_("route-active")); DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for route-active = %1\n", Properties::route_active.property_id)); Properties::color.property_id = g_quark_from_static_string (X_("color")); @@ -90,7 +87,6 @@ RouteGroup::make_property_quarks () , _solo (Properties::solo, false) \ , _recenable (Properties::recenable, false) \ , _select (Properties::select, false) \ - , _edit (Properties::edit, false) \ , _route_active (Properties::route_active, false) \ , _color (Properties::color, false) \ , _monitoring (Properties::monitoring, false) @@ -110,7 +106,6 @@ RouteGroup::RouteGroup (Session& s, const string &n) add_property (_solo); add_property (_recenable); add_property (_select); - add_property (_edit); add_property (_route_active); add_property (_color); add_property (_monitoring); @@ -286,7 +281,6 @@ RouteGroup::set_state_2X (const XMLNode& node, int /*version*/) _mute = true; _solo = true; _recenable = true; - _edit = false; _route_active = true; _color = false; } else if (node.name() == "EditGroup") { @@ -294,7 +288,6 @@ RouteGroup::set_state_2X (const XMLNode& node, int /*version*/) _mute = false; _solo = false; _recenable = false; - _edit = true; _route_active = false; _color = false; } @@ -353,16 +346,6 @@ RouteGroup::set_select (bool yn) } void -RouteGroup::set_edit (bool yn) -{ - if (is_edit() == yn) { - return; - } - _edit = yn; - send_change (PropertyChange (Properties::edit)); -} - -void RouteGroup::set_route_active (bool yn) { if (is_route_active() == yn) { |