TempoLines deletes its bfc on destruction
This commit is contained in:
parent
cebefe69d9
commit
b086d33937
@ -36,6 +36,12 @@ TempoLines::TempoLines (ArdourCanvas::Container* group, double, ARDOUR::BeatsFra
|
||||
lines.set_extent (ArdourCanvas::COORD_MAX);
|
||||
}
|
||||
|
||||
TempoLines::~TempoLines ()
|
||||
{
|
||||
delete _bfc;
|
||||
_bfc = 0;
|
||||
}
|
||||
|
||||
void
|
||||
TempoLines::tempo_map_changed()
|
||||
{
|
||||
|
@ -27,6 +27,7 @@
|
||||
class TempoLines {
|
||||
public:
|
||||
TempoLines (ArdourCanvas::Container* group, double screen_height, ARDOUR::BeatsFramesConverter* bfc);
|
||||
~TempoLines ();
|
||||
|
||||
void tempo_map_changed();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user