]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.cpp
Ask to change profile if first clip does not match project profile:
[kdenlive] / src / clipitem.cpp
index f05103fc281bf973883d0ab79ab48396ccfd864f..0cd508bb093afead0ce35c38d170d05feb29053f 100644 (file)
@@ -1440,8 +1440,8 @@ EffectsParameterList ClipItem::addEffect(const QDomElement effect, bool /*animat
                 double factor = e.attribute("factor", "1").toDouble();
                 if (factor != 1) {
                     for (int j = 0; j < values.count(); j++) {
-                        QString pos = values.at(j).section(":", 0, 0);
-                        double val = values.at(j).section(":", 1, 1).toDouble() / factor;
+                        QString pos = values.at(j).section(':', 0, 0);
+                        double val = values.at(j).section(':', 1, 1).toDouble() / factor;
                         values[j] = pos + "=" + QString::number(val);
                     }
                 }