]> git.sesse.net Git - kdenlive/blobdiff - src/rotoscoping/rotowidget.h
Use const'ref, change if(foo) delete foo => delete foo not necessary to check it...
[kdenlive] / src / rotoscoping / rotowidget.h
index 090e98f27e170926575d9446f9eef6e9bec7fe71..99523b8b3063d1a8e51b28961987d6f55e197512 100644 (file)
@@ -42,7 +42,7 @@ class RotoWidget : public QWidget
     Q_OBJECT
 
 public:
-    RotoWidget(const QString &data, Monitor *monitor, ItemInfo info, Timecode t, QWidget* parent = 0);
+    RotoWidget(const QString &data, Monitor *monitor, const ItemInfo &info, const Timecode &t, QWidget* parent = 0);
     virtual ~RotoWidget();
 
     /** @brief Returns the spline(s) in the JSON format used by filter_rotoscoping (MLT). */