]> git.sesse.net Git - kdenlive/blobdiff - src/abstractgroupitem.h
Still const'ref. Minor optimization
[kdenlive] / src / abstractgroupitem.h
index 0f16f32e193f12ce6bbee1b1563581353b580930..e0103aa075f501df25c8e4a6e7429c2f432fc677 100644 (file)
@@ -71,8 +71,8 @@ protected:
 
 private:
     void fixItemRect();
-    QPainterPath groupShape(GRAPHICSRECTITEM type, QPointF offset) const;
-    QPainterPath spacerGroupShape(GRAPHICSRECTITEM type, QPointF offset) const;
+    QPainterPath groupShape(GRAPHICSRECTITEM type, const QPointF &offset) const;
+    QPainterPath spacerGroupShape(GRAPHICSRECTITEM type, const QPointF &offset) const;
     /** Stores the original info of the items beeing resized. */
     QList <ItemInfo> m_resizeInfos;
 };