X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Faddeffectcommand.h;h=0c29c48bb1b64c2e2b7d2ed01a99c13c7ba89922;hb=64834d517d243b2a7672080453324bf8872ed60d;hp=f929dc57dc2160585428d5ab4da19223272549f3;hpb=79a58d4bd2faf4d6ee6576acc70219e95efb2865;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;