]> git.sesse.net Git - kdenlive/blobdiff - src/commands/changeeffectstatecommand.h
Use const'ref
[kdenlive] / src / commands / changeeffectstatecommand.h
index 563ef523dcbf6b7496bcfaddc0faa76e0c17432d..ee2c7d0bfcc14c3ebcdeb5cbc14a23db24215ae2 100644 (file)
@@ -31,7 +31,7 @@ class CustomTrackView;
 class ChangeEffectStateCommand : public QUndoCommand
 {
 public:
-    ChangeEffectStateCommand(CustomTrackView *view, const int track, GenTime pos, QList <int> effectIndexes, bool disable, bool refreshEffectStack, bool doIt, QUndoCommand *parent = 0);
+    ChangeEffectStateCommand(CustomTrackView *view, const int track, GenTime pos, const QList <int>& effectIndexes, bool disable, bool refreshEffectStack, bool doIt, QUndoCommand *parent = 0);
 
     virtual void undo();
     virtual void redo();