From 52fc310cfb540f9fd7d459453cbbaaa4bde47e9e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 Jun 2009 21:58:25 +0000 Subject: Make waveform show / scale / shape a global option in the prefs dialog to clean things up a bit. Options to make exceptions for individual tracks could be re-added, if people want them. git-svn-id: svn://localhost/ardour2/branches/3.0@5160 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_audiotrack.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'gtk2_ardour/editor_audiotrack.cc') diff --git a/gtk2_ardour/editor_audiotrack.cc b/gtk2_ardour/editor_audiotrack.cc index 693a7a6af9..997bf41a3f 100644 --- a/gtk2_ardour/editor_audiotrack.cc +++ b/gtk2_ardour/editor_audiotrack.cc @@ -33,21 +33,6 @@ using namespace ARDOUR; using namespace PBD; -void -Editor::set_show_waveforms (bool yn) -{ - AudioTimeAxisView* atv; - - if (_show_waveforms != yn) { - _show_waveforms = yn; - for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) { - if ((atv = dynamic_cast(*i)) != 0) { - atv->set_show_waveforms (yn); - } - } - } -} - void Editor::set_show_waveforms_recording (bool yn) { -- cgit v1.2.3