X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fmoveeffectcommand.h;h=ee86ffb274657f73b770b7baecbbf52958f212cc;hb=f4699aef75ea62acb69ad499317493facdef04df;hp=790390ac2a9f1d8cf80b9335bf97df5ec42782d3;hpb=bae96d4b906092465a7624195a55b6527529cd7c;p=kdenlive diff --git a/src/commands/moveeffectcommand.h b/src/commands/moveeffectcommand.h index 790390ac..ee86ffb2 100644 --- a/src/commands/moveeffectcommand.h +++ b/src/commands/moveeffectcommand.h @@ -31,7 +31,7 @@ class CustomTrackView; class MoveEffectCommand : public QUndoCommand { public: - MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, int oldPos, int newPos, QUndoCommand * parent = 0); + MoveEffectCommand(CustomTrackView *view, const int track, const GenTime &pos, const QList &oldPos, int newPos, QUndoCommand * parent = 0); virtual int id() const; virtual bool mergeWith(const QUndoCommand * command); @@ -41,8 +41,8 @@ public: private: CustomTrackView *m_view; int m_track; - int m_oldindex; - int m_newindex; + QList m_oldindex; + QList m_newindex; GenTime m_pos; };