]> git.sesse.net Git - kdenlive/blobdiff - src/documentvalidator.cpp
Fix locale problem (inserted a thousand separator into numbers when converting to...
[kdenlive] / src / documentvalidator.cpp
index 64c595c790932a845e561d1319e056274ff0b02b..d13fd99eec742d9db2416b5dc6e5129b93baad34 100644 (file)
@@ -62,7 +62,8 @@ bool DocumentValidator::validate(const double currentVersion)
         setlocale(LC_NUMERIC, mlt.attribute("LC_NUMERIC").toUtf8().constData());
         documentLocale = QLocale(mlt.attribute("LC_NUMERIC"));
     }
-
+    
+    documentLocale.setNumberOptions(QLocale::OmitGroupSeparator);
     if (documentLocale != QLocale()) {
         QLocale::setDefault(documentLocale);
         // locale conversion might need to be redone