NO-OP: whitespace
[ardour.git] / libs / ardour / solo_isolate_control.cc
index ebd046fba684cab0d51b0fc394ffbeb5de3f1a24..9be6e1a7d586e2513c043c3353e384dc51ccf411 100644 (file)
@@ -42,7 +42,7 @@ SoloIsolateControl::SoloIsolateControl (Session& session, std::string const & na
 }
 
 void
-SoloIsolateControl::master_changed (bool from_self, PBD::Controllable::GroupControlDisposition gcd, boost::shared_ptr<AutomationControl>)
+SoloIsolateControl::master_changed (bool from_self, PBD::Controllable::GroupControlDisposition gcd, boost::weak_ptr<AutomationControl>)
 {
        if (!_soloable.can_solo()) {
                return;
@@ -88,11 +88,11 @@ SoloIsolateControl::mod_solo_isolated_by_upstream (int32_t delta)
        }
 }
 
-bool
+void
 SoloIsolateControl::actually_set_value (double val, PBD::Controllable::GroupControlDisposition gcd)
 {
        if (!_soloable.can_solo()) {
-               return false;
+               return;
        }
 
        set_solo_isolated (val, gcd);
@@ -101,12 +101,7 @@ SoloIsolateControl::actually_set_value (double val, PBD::Controllable::GroupCont
           be retrieved by AutomationControl::get_value (), and emits Changed
        */
 
-       if (AutomationControl::actually_set_value (val, gcd)) {
-               _session.set_dirty ();
-               return true;
-       }
-
-       return false;
+       AutomationControl::actually_set_value (val, gcd);
 }
 
 void
@@ -164,12 +159,7 @@ SoloIsolateControl::set_state (XMLNode const & node, int version)
                return -1;
        }
 
-       XMLProperty const * prop;
-
-       if ((prop = node.property ("solo-isolated")) != 0) {
-               _solo_isolated = string_is_affirmative (prop->value());
-       }
-
+       node.get_property ("solo-isolated", _solo_isolated);
        return 0;
 }
 
@@ -177,6 +167,6 @@ XMLNode&
 SoloIsolateControl::get_state ()
 {
        XMLNode& node (SlavableAutomationControl::get_state());
-       node.add_property (X_("solo-isolated"), _solo_isolated ? X_("yes") : X_("no"));
+       node.set_property (X_("solo-isolated"), _solo_isolated);
        return node;
 }