]> git.sesse.net Git - kdenlive/blobdiff - src/graphicsscenerectmove.cpp
Fix template title clips & some other title issues
[kdenlive] / src / graphicsscenerectmove.cpp
index bccae632279c301b1f86080f2a1adda795ae0bea..14eabe0d4e11b091b2fd85ae7f4580f916dffe7e 100644 (file)
@@ -415,7 +415,7 @@ void GraphicsSceneRectMove::mouseMoveEvent(QGraphicsSceneMouseEvent* e)
                     else newrect.setWidth(m_selectedItem->data(0).toInt() * vRatio);
                 }
 
-                gi->setRect(newrect);                
+                gi->setRect(newrect);
             }
             /*else {
             qreal s;
@@ -488,7 +488,7 @@ void GraphicsSceneRectMove::mouseMoveEvent(QGraphicsSceneMouseEvent* e)
         }
         QGraphicsScene::mouseMoveEvent(e);
     } else if (m_tool == TITLE_RECTANGLE && e->buttons() & Qt::LeftButton) {
-        if (m_selectedItem == NULL) {   
+        if (m_selectedItem == NULL) {
             // create new rect item
             QRectF r(0, 0, e->scenePos().x() - m_sceneClickPoint.x(), e->scenePos().y() - m_sceneClickPoint.y());
             r = r.normalized();