]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.cpp
Fix bugs when default profile does not match current/last profile.
[kdenlive] / src / kdenlivedoc.cpp
index d1a340b8095ba1ef64ba4f0c553be2d1249d32a9..1ce567cb1a1dcacc8d7e2e94bb3f2f21cfea463e 100644 (file)
@@ -726,7 +726,7 @@ bool KdenliveDoc::setProfilePath(QString path)
     if (path.isEmpty()) path = KdenliveSettings::default_profile();
     if (path.isEmpty()) path = "dv_pal";
     m_profile = ProfilesDialog::getVideoProfile(path);
-    bool current_fps = m_fps;
+    double current_fps = m_fps;
     if (m_profile.path.isEmpty()) {
         // Profile not found, use embedded profile
         QDomElement profileInfo = m_document.elementsByTagName("profileinfo").at(0).toElement();