X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fmoveeffectcommand.cpp;h=5be578e290608d8cf12e890ccbb513f09cbe35fa;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=e290ff2aca83d3180a7f0115f52e6b1d3ce1512c;hpb=e0fa1332f109b6455207ea701da386b2fddddf09;p=kdenlive diff --git a/src/commands/moveeffectcommand.cpp b/src/commands/moveeffectcommand.cpp index e290ff2a..5be578e2 100644 --- a/src/commands/moveeffectcommand.cpp +++ b/src/commands/moveeffectcommand.cpp @@ -22,16 +22,17 @@ #include "customtrackview.h" #include +#include MoveEffectCommand::MoveEffectCommand(CustomTrackView *view, const int track, const GenTime &pos, const QList &oldPos, int newPos, QUndoCommand * parent) : - QUndoCommand(parent), - m_view(view), - m_track(track), - m_oldindex(oldPos), - m_pos(pos) + QUndoCommand(parent), + m_view(view), + m_track(track), + m_oldindex(oldPos), + m_pos(pos) { for (int i = 0; i < m_oldindex.count(); ++i) { - m_newindex << newPos + i; + m_newindex << newPos + i; } /* QString effectName; QDomElement namenode = effect.firstChildElement("name");