[Kdenlive-devel] geometry values in source
Dan Dennedy
dan at dennedy.org
Sun Jul 10 07:52:05 UTC 2011
I was locating all the geometry values hard-codec in the source to
replace the local-sensitive comma with forward-slash and came upon
this in trackview.cpp.
line 350:
mlt_geometry.replace(QChar('x'), QChar(','),
Qt::CaseInsensitive);
353:
start.replace(QChar(':'), QChar(','), Qt::CaseInsensitive);
356:
end.replace(QChar(':'), QChar(','), Qt::CaseInsensitive);
start.append(',' + end);
QStringList numbers = start.split(',',
QString::SkipEmptyParts);
I think we can change all the replacements to use ':' and split on that.
--
+-DRD-+
More information about the Kdenlive
mailing list