]> git.sesse.net Git - kdenlive/blobdiff - src/commands/addeffectcommand.h
Use const'ref
[kdenlive] / src / commands / addeffectcommand.h
index f929dc57dc2160585428d5ab4da19223272549f3..5856a05ab6bc62b17d746ddbad3cf80d853d03d7 100644 (file)
@@ -31,7 +31,7 @@ class CustomTrackView;
 class AddEffectCommand : public QUndoCommand
 {
 public:
-    AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt, QUndoCommand * parent = 0);
+    AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, const QDomElement &effect, bool doIt, QUndoCommand * parent = 0);
 
     virtual void undo();
     virtual void redo();