code: def dragLeaveEvent(self, event):
          
          super(AbstractDragView, self).dragLeaveEvent(event)
          self.dragline = None
          self.viewport().update()
          event.accept()
docs: Clears drop cursor line