]> git.sesse.net Git - kdenlive/blobdiff - src/commands/moveeffectcommand.cpp
Better to use ++i than i++ (minor optimization)
[kdenlive] / src / commands / moveeffectcommand.cpp
index ba394793b0ac2aefb9d047240fc0758d3fb6dcd8..e290ff2aca83d3180a7f0115f52e6b1d3ce1512c 100644 (file)
@@ -30,7 +30,7 @@ MoveEffectCommand::MoveEffectCommand(CustomTrackView *view, const int track, con
         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;