Commit 17d4ce49 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Don't waste cpu time

parent 9c5b4bbd
......@@ -170,6 +170,7 @@ void TracksView::moveMediaItem( AbstractGraphicsMediaItem* item, QPoint position
// Collision with an item of the same type
// Restoring original parent (vertical)
m_dragItem->setParentItem( oldParent );
break;
}
}
......@@ -184,6 +185,7 @@ void TracksView::moveMediaItem( AbstractGraphicsMediaItem* item, QPoint position
// Collision with an item of the same type
// Restoring original position (horizontal)
m_dragItem->setPos( oldPos );
break;
}
}
}
......
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