Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Small fix to transition change

svn path=/branches/KDE4/; revision=2297
parent 87abcd8f
......@@ -868,6 +868,7 @@ void CustomTrackView::updateTransition(int track, GenTime pos, QDomElement oldTr
return;
}
m_document->renderer()->mltUpdateTransition(oldTransition.attribute("tag"), transition.attribute("tag"), transition.attribute("transition_btrack").toInt(), m_tracksList.count() - transition.attribute("transition_atrack").toInt(), item->startPos(), item->endPos(), transition);
item->setTransitionParameters(transition);
m_document->setModified(true);
}
......
......@@ -71,6 +71,7 @@ QString Transition::transitionTag() const {
void Transition::setTransitionParameters(const QDomElement params) {
m_parameters = params;
m_name = m_parameters.elementsByTagName("name").item(0).toElement().text();
update();
}
......
......@@ -74,10 +74,10 @@ void TransitionSettings::slotUpdateEffectParams(const QDomElement& oldparam, con
m_usedTransition->setTransitionParameters(param);
m_usedTransition->update();
}
QString test;
/*QString test;
QTextStream str(&test);
oldparam.save(str, 2);
m_usedTransition->toXML().save(str, 2);
m_usedTransition->toXML().save(str, 2);*/
//kDebug() << test;
//oldparam must be also first given to Transition and then return the toXML()
emit transitionUpdated(m_usedTransition, oldparam);
......
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