X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Faddeffectcommand.h;h=0c29c48bb1b64c2e2b7d2ed01a99c13c7ba89922;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=f929dc57dc2160585428d5ab4da19223272549f3;hpb=6ee97189c48f7e8271aa04fb34b650c1ae1037d2;p=kdenlive diff --git a/src/commands/addeffectcommand.h b/src/commands/addeffectcommand.h index f929dc57..0c29c48b 100644 --- a/src/commands/addeffectcommand.h +++ b/src/commands/addeffectcommand.h @@ -31,10 +31,10 @@ 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, const GenTime &pos, const QDomElement &effect, bool doIt, QUndoCommand * parent = 0); - virtual void undo(); - virtual void redo(); + void undo(); + void redo(); private: CustomTrackView *m_view;