diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-06 23:17:04 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-06 23:17:04 -0500 |
commit | fa5529b694ad4a75a9a1260a2c8416166a4ae7c1 (patch) | |
tree | bd93ad11d9eb8582c4fbac90e49bac1a9fe17f7d /gtk2_ardour/hit.h | |
parent | 41c4c41eaa09a7d831988af828dd040499130bf1 (diff) |
fix missing Hit destructor, which left polygons all over the canvas after deleting the Hit object(s)
Diffstat (limited to 'gtk2_ardour/hit.h')
-rw-r--r-- | gtk2_ardour/hit.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/hit.h b/gtk2_ardour/hit.h index 3afdd91367..0ce1c93634 100644 --- a/gtk2_ardour/hit.h +++ b/gtk2_ardour/hit.h @@ -32,14 +32,14 @@ class Hit : public NoteBase public: typedef Evoral::Note<double> NoteType; - Hit ( - MidiRegionView& region, - ArdourCanvas::Group* group, - double size, - const boost::shared_ptr<NoteType> note = boost::shared_ptr<NoteType>(), - bool with_events = true); - - void show (); + Hit (MidiRegionView& region, + ArdourCanvas::Group* group, + double size, + const boost::shared_ptr<NoteType> note = boost::shared_ptr<NoteType>(), + bool with_events = true); + ~Hit(); + + void show (); void hide (); ArdourCanvas::Coord x0 () const; |