- clipeffect.setAttribute("kdenlive_ix", effectindex);
- QDomNodeList clipeffectparams = clipeffect.childNodes();
+ QDomElement currenteffect = clipeffect.cloneNode().toElement();
+ currenteffect.setAttribute("kdenlive_ix", effectindex);
+ QDomNodeList clipeffectparams = currenteffect.childNodes();