Remove some unused methods. Restore Solo boost, SiP cut and Dim Cut correctly on session reload (#3903).

git-svn-id: svn://localhost/ardour2/branches/3.0@9243 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-30 12:37:14 +00:00
parent 832e6fb21a
commit a8b4169cce
5 changed files with 4 additions and 24 deletions

View file

@ -981,12 +981,6 @@ MonitorSection::cancel_audition (GdkEventButton*)
return true;
}
void
MonitorSection::solo_cut_changed ()
{
Config->set_solo_mute_gain (slider_position_to_gain (solo_cut_adjustment.get_value()));
}
void
MonitorSection::parameter_changed (std::string name)
{
@ -1011,7 +1005,7 @@ MonitorSection::assign_controllables ()
if (_session) {
boost::shared_ptr<Controllable> c = _session->solo_cut_control();
solo_cut_control->set_controllable (c);
solo_cut_control->get_adjustment()->set_value (c->get_value());
solo_cut_control->get_adjustment()->set_value (gain_to_slider_position (c->get_value()));
} else {
solo_cut_control->set_controllable (none);
}