Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Fix erronous locale conversion causing various corruption on some systems

parent 570fb3e2
......@@ -125,7 +125,9 @@ KdenliveDoc::KdenliveDoc(const QUrl &url, const QString &projectFolder, QUndoGro;
m_documentMetadata[j.key()] = j.value();
if (QLocale().decimalPoint() != QLocale::system().decimalPoint()) {
/*if (QLocale().decimalPoint() != QLocale::system().decimalPoint()) {
qDebug()<<"* * ** AARCH DOCUMENT PROBLEM;";
setlocale(LC_NUMERIC, "");
QLocale systemLocale = QLocale::system();
......@@ -135,7 +137,7 @@ KdenliveDoc::KdenliveDoc(const QUrl &url, const QString &projectFolder, QUndoGro
//initEffects::parseEffectFiles(pCore->getMltRepository(), QString::fromLatin1(setlocale(LC_NUMERIC, nullptr)));
*openBackup = false;
if (url.isValid()) {
QFile file(url.toLocalFile());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment