]> git.sesse.net Git - kdenlive/blobdiff - src/trackview.cpp
Fix speed effect if > 999:
[kdenlive] / src / trackview.cpp
index 62dd37b5689e9994b64a1d0f5630505793dd91eb..4dbd355d928a481e14b81776d27a6bc11d8114ca 100644 (file)
@@ -609,7 +609,7 @@ int TrackView::slotAddProjectTrack(int ix, QDomElement xml, bool locked, QDomNod
             int strobe = 1;
             if (idString.startsWith("slowmotion")) {
                 id = idString.section(':', 1, 1);
-                speed = idString.section(':', 2, 2).toDouble();
+                speed = m_locale.toDouble(idString.section(':', 2, 2));
                 strobe = idString.section(':', 3, 3).toInt();
                 if (strobe == 0) strobe = 1;
             }