]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardmenu.h
Better to use ++i than i++ (minor optimization)
[kdenlive] / src / dvdwizardmenu.h
index 8c4dd999ab2ea84c083a1cf9f1228aa4561837e7..a67a1eedc252c64f3c301ad848fbc4338090a4ad 100644 (file)
@@ -133,7 +133,7 @@ protected:
             QList<QGraphicsItem*> list = scene()->items(sceneShape, Qt::IntersectsItemShape);
             list.removeAll(this);
             if (!list.isEmpty()) {
-                for (int i = 0; i < list.count(); i++) {
+                for (int i = 0; i < list.count(); ++i) {
                     if (list.at(i)->type() == Type) return pos();
                 }
             }