Fix crash on audio record (time converter segfault wackiness).

git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-16 23:32:59 +00:00
parent 87c7b62103
commit 3e1eb6bcbd
5 changed files with 11 additions and 15 deletions

View file

@ -56,7 +56,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin
public:
AutomationLine (const string& name, TimeAxisView&, ArdourCanvas::Group&,
boost::shared_ptr<ARDOUR::AutomationList>,
const Evoral::TimeConverter<double, nframes_t>& converter);
const Evoral::TimeConverter<double, nframes_t>* converter = 0);
virtual ~AutomationLine ();
void queue_reset ();
@ -128,7 +128,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin
void set_colors();
void modify_point_y (ControlPoint&, double);
protected:
string _name;