13
0

move (empty) Drag destructor into source file and add DEBUG_TRACE

This commit is contained in:
Paul Davis 2023-09-30 10:55:29 -06:00
parent cd99fed7cd
commit b2bb8e9bac
2 changed files with 6 additions and 1 deletions

View File

@ -298,6 +298,11 @@ Drag::Drag (Editor* e, ArdourCanvas::Item* i, Temporal::TimeDomain td, bool trac
{ {
} }
Drag::~Drag ()
{
DEBUG_TRACE (DEBUG::Drags, "drag destroyed\n");
}
void void
Drag::set_time_domain (Temporal::TimeDomain td) Drag::set_time_domain (Temporal::TimeDomain td)
{ {

View File

@ -152,7 +152,7 @@ class Drag
{ {
public: public:
Drag (Editor *, ArdourCanvas::Item *, Temporal::TimeDomain td, bool trackview_only = true, bool hide_snapped_cursor = true); Drag (Editor *, ArdourCanvas::Item *, Temporal::TimeDomain td, bool trackview_only = true, bool hide_snapped_cursor = true);
virtual ~Drag () {} virtual ~Drag ();
void set_manager (DragManager* m) { void set_manager (DragManager* m) {
_drags = m; _drags = m;