]> git.sesse.net Git - kdenlive/blobdiff - src/onmonitoritems/onmonitorrectitem.h
Use const'ref, change if(foo) delete foo => delete foo not necessary to check it...
[kdenlive] / src / onmonitoritems / onmonitorrectitem.h
index 15e93941fc22c98eaa82f2186fc5c4ed7ec04f93..576c5a7c1c35abce59d3403b21bb487db946aece 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     /** @brief Gets The action mode for the area @param pos +- 4.
      * e.g. pos(0,0) returns ResizeTopLeft */
-    rectActions getMode(QPointF pos);
+    rectActions getMode(const QPointF &pos);
 
     /** @brief Reimplemented to draw the handles. */
     virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0 );