]> git.sesse.net Git - kdenlive/blobdiff - src/commands/addtransitioncommand.h
Const'ify. Use QLatin1String
[kdenlive] / src / commands / addtransitioncommand.h
index be6f6a19bc1d2c8c17be3201a099b7b4e8f1d598..5531b79cee6895585ab49a4d27260966adae0d15 100644 (file)
@@ -32,7 +32,7 @@ class CustomTrackView;
 class AddTransitionCommand : public QUndoCommand
 {
 public:
-    AddTransitionCommand(CustomTrackView *view, ItemInfo info, int transitiontrack, QDomElement params, bool remove, bool doIt, QUndoCommand * parent = 0);
+    AddTransitionCommand(CustomTrackView *view, const ItemInfo &info, int transitiontrack, const QDomElement &params, bool remove, bool doIt, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();