X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fmovegroupcommand.cpp;h=22de56dc12cffed2a51528f89c8ec39483b545e0;hb=5d4746e4c3e8665de83e6d281dcd08a46cd22c31;hp=f22bdc95818546294e1462cb3eebf4de8a623e16;hpb=d428e8bbbc881f61872743893518f568401df958;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); }