Remove small tip animation when exiting timeline

parent 5baaf729
......@@ -2727,6 +2727,12 @@ void CustomTrackView::dragLeaveEvent(QDragLeaveEvent * event)
}
}
void CustomTrackView::leaveEvent(QEvent * event)
{
removeTipAnimation();
QGraphicsView::leaveEvent(event);
}
void CustomTrackView::dropEvent(QDropEvent * event)
{
if ((m_selectionGroup || m_dragItem) && m_clipDrag) {
......
......@@ -310,6 +310,7 @@ protected:
virtual void dragLeaveEvent(QDragLeaveEvent * event);
/** @brief Something has been dropped onto the timeline */
virtual void dropEvent(QDropEvent * event);
virtual void leaveEvent(QEvent * event);
virtual void wheelEvent(QWheelEvent * e);
virtual void keyPressEvent(QKeyEvent * event);
virtual QStringList mimeTypes() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment