KMessageBox::sorry(this,i18n("Unable to write to file %1",path));
}else{
QTextStreamout(&f);
out<<doc.toString();
f.close();
KMessageBox::information(this,i18n("Your project file was modified by Kdenlive.\nTo make sure you don't lose data, a backup copy called %1 was created.",backupFile));