]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.cpp
Fix typo loop, fix missing i18n strings
[kdenlive] / src / clipitem.cpp
index 7c6fab53806bbee039ddca8e4bc845ab5722f5f5..30eb0eb6127bdf498cfc10e6885241dbfb51853a 100644 (file)
@@ -959,7 +959,7 @@ QVariant ClipItem::itemChange(GraphicsItemChange change, const QVariant &value)
                         sceneShape.translate(newPos);
                         QList<QGraphicsItem*> subitems = scene()->items(sceneShape, Qt::IntersectsItemShape);
                         items.removeAll(this);
-                        for (int j = 0; j < subitems.count(); i++) {
+                        for (int j = 0; j < subitems.count(); j++) {
                             if (subitems.at(j)->type() == type()) return pos();
                         }
                     } else {
@@ -971,7 +971,7 @@ QVariant ClipItem::itemChange(GraphicsItemChange change, const QVariant &value)
                         sceneShape.translate(newPos);
                         QList<QGraphicsItem*> subitems = scene()->items(sceneShape, Qt::IntersectsItemShape);
                         items.removeAll(this);
-                        for (int j = 0; j < subitems.count(); i++) {
+                        for (int j = 0; j < subitems.count(); j++) {
                             if (subitems.at(j)->type() == type()) return pos();
                         }
                     }