]> git.sesse.net Git - kdenlive/blobdiff - src/commands/moveeffectcommand.cpp
Remove not implemented function
[kdenlive] / src / commands / moveeffectcommand.cpp
index 43d502d7e07eca0e197fd93a65fcf5774afe40ba..e290ff2aca83d3180a7f0115f52e6b1d3ce1512c 100644 (file)
 
 #include <KLocale>
 
-MoveEffectCommand::MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, QList <int> oldPos, int newPos, QUndoCommand * parent) :
+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)
 {
-    for (int i = 0; i < m_oldindex.count(); i++) {
+    for (int i = 0; i < m_oldindex.count(); ++i) {
        m_newindex << newPos + i;
     }
     /*    QString effectName;