]> git.sesse.net Git - kdenlive/blobdiff - src/commands/moveeffectcommand.h
Use const'ref
[kdenlive] / src / commands / moveeffectcommand.h
index bc1fd30f67305cdd6081e48a69a2ac9c888c1bda..e4aa6d707532b81bbec1cc15a5779fbe7a642b73 100644 (file)
@@ -31,7 +31,7 @@ class CustomTrackView;
 class MoveEffectCommand : public QUndoCommand
 {
 public:
-    MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, QList <int> oldPos, int newPos, QUndoCommand * parent = 0);
+    MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, const QList <int> &oldPos, int newPos, QUndoCommand * parent = 0);
 
     virtual int id() const;
     virtual bool mergeWith(const QUndoCommand * command);