]> git.sesse.net Git - kdenlive/blobdiff - src/documentvalidator.cpp
Fix locale misconfiguration that caused the document version to be 0 and started...
[kdenlive] / src / documentvalidator.cpp
index d3eda935a27904f67047935f60c1a42b44800c1b..fc46f14fa37b101afaef192c748c75304f147c60 100644 (file)
@@ -48,8 +48,9 @@ bool DocumentValidator::validate(const double currentVersion)
     // Check if we're validating a Kdenlive project
     if (kdenliveDoc.isNull())
         return false;
-    
-    QLocale documentLocale;
+
+    // Previous MLT / Kdenlive versions used C locale by default
+    QLocale documentLocale("C");
     
     if (mlt.hasAttribute("LC_NUMERIC")) {
         // Set locale for the document