X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftitledocument.cpp;h=0ebc42fd0992fedbbd2e91d63b42af00d48e559b;hb=b71bbe0b32508be57fd6d2314daf3ab5f36b47e1;hp=7aebd8f434261937214d3d798b39277cfc6496a3;hpb=256f950ea776efeabd417bf9477747ea2c2bd35d;p=kdenlive diff --git a/src/titledocument.cpp b/src/titledocument.cpp index 7aebd8f4..0ebc42fd 100644 --- a/src/titledocument.cpp +++ b/src/titledocument.cpp @@ -37,6 +37,8 @@ #include #include +#include + #if QT_VERSION >= 0x040600 #include #include @@ -121,6 +123,9 @@ QDomDocument TitleDocument::xml(QGraphicsRectItem* startv, QGraphicsRectItem* en QDomElement main = doc.createElement("kdenlivetitle"); main.setAttribute("width", m_width); main.setAttribute("height", m_height); + // Save locale + const char *locale = setlocale(LC_NUMERIC, NULL); + main.setAttribute("LC_NUMERIC", locale); doc.appendChild(main); foreach(QGraphicsItem * item, m_scene->items()) {