]> git.sesse.net Git - kdenlive/blobdiff - src/commands/changespeedcommand.h
Add explicit keyword, const'ref, minor optimization
[kdenlive] / src / commands / changespeedcommand.h
index 8adb5fc5092c7fde1d508c7f96b9d3546cea6ac5..4640f15f1ba4b4214d7231c19265485fb2af0bbf 100644 (file)
@@ -33,7 +33,7 @@ class CustomTrackView;
 class ChangeSpeedCommand : public QUndoCommand
 {
 public:
-    ChangeSpeedCommand(CustomTrackView *view, ItemInfo info, ItemInfo speedIndependantInfo, double old_speed, double new_speed, int old_strobe, int new_strobe, const QString &clipId, QUndoCommand * parent = 0);
+    ChangeSpeedCommand(CustomTrackView *view, const ItemInfo &info, const ItemInfo &speedIndependantInfo, double old_speed, double new_speed, int old_strobe, int new_strobe, const QString &clipId, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();