diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-30 12:37:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-30 12:37:14 +0000 |
commit | a8b4169cce468ddb4813c2062b5f03ef258a9f1f (patch) | |
tree | e6ab9fee193216c3bf17f60595a96738bba2a4cc /gtk2_ardour/monitor_section.cc | |
parent | 832e6fb21adda8fa05db725bd8434789bd62b89d (diff) |
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
Diffstat (limited to 'gtk2_ardour/monitor_section.cc')
-rw-r--r-- | gtk2_ardour/monitor_section.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk2_ardour/monitor_section.cc b/gtk2_ardour/monitor_section.cc index 812d62330e..f72e04ea5a 100644 --- a/gtk2_ardour/monitor_section.cc +++ b/gtk2_ardour/monitor_section.cc @@ -982,12 +982,6 @@ MonitorSection::cancel_audition (GdkEventButton*) } 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) { if (name == "solo-control-is-listen-control" || @@ -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); } |