]> git.sesse.net Git - kdenlive/blobdiff - src/graphicsscenerectmove.cpp
r6488@lapL: simon | 2010-06-03 23:37:50 +0200
[kdenlive] / src / graphicsscenerectmove.cpp
index 365f202dcb821d0e72a3b64114c1dd6478254c39..a905d1ae13ab140911b771b2ed27eb66208f6886 100644 (file)
@@ -301,6 +301,7 @@ void GraphicsSceneRectMove::mouseMoveEvent(QGraphicsSceneMouseEvent* e)
              * inverted)
              */
             int determinantH, determinantV;
+            // Check whether to resize or to just move the item(s)
             switch (m_resizeMode) {
             case TopLeft:
                 determinantV = (bottomRight.x() - newpoint.x()) * (topRight.y() - newpoint.y()) - (bottomRight.y() - newpoint.y()) * (topRight.x() - newpoint.x());