]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.cpp
Try to fix timecode error:
[kdenlive] / src / kdenlivedoc.cpp
index 80037d38630e2d232e175a43e74cc7229ecb1e0b..1e399f94a039f373d7bb2bcdd3c149ad924df3ab 100644 (file)
@@ -716,8 +716,7 @@ bool KdenliveDoc::setProfilePath(QString path)
     m_width = m_profile.width;
     m_height = m_profile.height;
     kDebug() << "Kdenlive document, init timecode from path: " << path << ",  " << m_fps;
-    if (m_fps / 1.00 == (int)m_fps) m_timecode.setFormat(m_fps);
-    else m_timecode.setFormat(m_fps, true);
+    m_timecode.setFormat(m_fps);
     return (current_fps != m_fps);
 }