X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fmovegroupcommand.cpp;h=22de56dc12cffed2a51528f89c8ec39483b545e0;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=f22bdc95818546294e1462cb3eebf4de8a623e16;hpb=6c74a57534cb16a553be26517d12cd633de35ca6;p=kdenlive diff --git a/src/commands/movegroupcommand.cpp b/src/commands/movegroupcommand.cpp index f22bdc95..22de56dc 100644 --- a/src/commands/movegroupcommand.cpp +++ b/src/commands/movegroupcommand.cpp @@ -21,16 +21,16 @@ #include "movegroupcommand.h" #include "customtrackview.h" -#include +#include -MoveGroupCommand::MoveGroupCommand(CustomTrackView *view, const QList startClip, const QList startTransition, const GenTime offset, const int trackOffset, bool doIt, QUndoCommand * parent) : - QUndoCommand(parent), - m_view(view), - m_startClip(startClip), - m_startTransition(startTransition), - m_offset(offset), - m_trackOffset(trackOffset), - m_doIt(doIt) +MoveGroupCommand::MoveGroupCommand(CustomTrackView *view, const QList &startClip, const QList &startTransition, const GenTime &offset, const int trackOffset, bool doIt, QUndoCommand * parent) : + QUndoCommand(parent), + m_view(view), + m_startClip(startClip), + m_startTransition(startTransition), + m_offset(offset), + m_trackOffset(trackOffset), + m_doIt(doIt) { setText(i18n("Move group")); } @@ -39,7 +39,7 @@ MoveGroupCommand::MoveGroupCommand(CustomTrackView *view, const QList // virtual void MoveGroupCommand::undo() { -// kDebug()<<"---- undoing action"; + // kDebug()<<"---- undoing action"; m_doIt = true; m_view->moveGroup(m_startClip, m_startTransition, GenTime() - m_offset, - m_trackOffset, true); }