}
QDomElement infoXml = mlt.firstChildElement("kdenlivedoc");
+ QDomElement propsXml = infoXml.firstChildElement("documentproperties");
+
+ int currentPos = propsXml.attribute("position").toInt();
+ if (currentPos > 0) m_trackview->initCursorPos(currentPos);
+
+
// Add guides
QDomNodeList guides = infoXml.elementsByTagName("guide");
for (int i = 0; i < guides.count(); i++) {
void TrackView::moveCursorPos(int pos)
{
- m_trackview->setCursorPos(pos, false);
+ m_trackview->setCursorPos(pos);
}
void TrackView::slotChangeZoom(int horizontal, int vertical)