Commit 364451b1 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

Followup to commit 21c34d60 fix for crash on moving element in diagram,
> Break the recursive event loop in UMLScene::mouseMoveEvent().

umbrello/umlscene.cpp function mouseMoveEvent
- Apparently the recursive loop is not limited to pre Qt5 versions.
  Remove #if QT_VERSION < 0x050000 preprocessor guard, i.e  make the
  previously #if dependent code unconditional. Remove #else part.

CCBUG: 416013
parent afe54199
......@@ -949,15 +949,11 @@ void UMLScene::dropEvent(QGraphicsSceneDragDropEvent *e)
void UMLScene::mouseMoveEvent(QGraphicsSceneMouseEvent* ome)
#if QT_VERSION < 0x050000
if (m_d->inMouseMoveEvent)
m_d->inMouseMoveEvent = true;
m_d->inMouseMoveEvent = false;
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