Fix crash due to recurency in DragController
A drop could cause the events to be processed and trigger another mouse move Fixes: #19
This commit is contained in:
@@ -232,6 +232,11 @@ bool StateDragging::handleMouseMove(QPoint globalPos)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (fw->beingDeleted()) {
|
||||
// Ignore, we're in the middle of recurrency. We're inside StateDragging::handleMouseButtonRelease too
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!q->m_nonClientDrag)
|
||||
fw->windowHandle()->setPosition(globalPos - q->m_offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user