timeline: fix bug in trackviewitem drag/drop

This commit is contained in:
itsmattkc
2022-05-13 20:34:29 -07:00
parent ae8ab7ce3b
commit fb72ca4997
4 changed files with 24 additions and 3 deletions
@@ -47,7 +47,8 @@ public:
button_(button),
modifiers_(modifiers),
source_event_(nullptr),
mime_data_(nullptr)
mime_data_(nullptr),
bypass_import_buffer_(false)
{
}
@@ -117,6 +118,9 @@ public:
source_event_->ignore();
}
bool GetBypassImportBuffer() const { return bypass_import_buffer_; }
void SetBypassImportBuffer(bool e) { bypass_import_buffer_ = e; }
private:
qreal scene_x_;
double scale_x_;
@@ -132,6 +136,8 @@ private:
const QMimeData* mime_data_;
bool bypass_import_buffer_;
};
}