-MoveEffectCommand::MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, QList <int> oldPos, int newPos, QUndoCommand * parent) :
- QUndoCommand(parent),
- m_view(view),
- m_track(track),
- m_oldindex(oldPos),
- m_pos(pos)
+MoveEffectCommand::MoveEffectCommand(CustomTrackView *view, const int track, const GenTime &pos, const QList<int> &oldPos, int newPos, QUndoCommand * parent) :
+ QUndoCommand(parent),
+ m_view(view),
+ m_track(track),
+ m_oldindex(oldPos),
+ m_pos(pos)