sceneList.setContent(scene, true);
QDomElement mlt = sceneList.firstChildElement("mlt");
if (mlt.isNull() || !mlt.hasChildNodes()) {
- //Make sure we don't save if scenelist is corrupted
- KMessageBox::error(kapp->activeWindow(), i18n("Cannot write to file %1", path));
- return false;
+ //Make sure we don't save if scenelist is corrupted
+ KMessageBox::error(kapp->activeWindow(), i18n("Cannot write to file %1", path));
+ return false;
}
QDomElement addedXml = sceneList.createElement("kdenlivedoc");
mlt.appendChild(addedXml);
}
}
-void KdenliveDoc::deleteProjectClip(QStringList ids)
-{
- for (int i = 0; i < ids.size(); ++i) {
- emit deleteTimelineClip(ids.at(i));
- }
- m_clipManager->slotDeleteClips(ids);
- setModified(true);
-}
void KdenliveDoc::deleteClip(const QString &clipId)
{