Commit 3ed3b9ae authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix paste speed clip broken on comma locale

CCBUG: 418121
parent 8c44123e
......@@ -703,6 +703,7 @@ void ClipModel::setFakePosition(int fid)
QDomElement ClipModel::toXml(QDomDocument &document)
{
QLocale locale;
QDomElement container = document.createElement(QStringLiteral("clip"));
container.setAttribute(QStringLiteral("binid"), m_binClipId);
container.setAttribute(QStringLiteral("id"), m_id);
......@@ -727,7 +728,7 @@ QDomElement ClipModel::toXml(QDomDocument &document)
}
}
}
container.setAttribute(QStringLiteral("speed"), m_speed);
container.setAttribute(QStringLiteral("speed"), locale.toString(m_speed));
container.appendChild(m_effectStack->toXml(document));
return container;
}
......
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