answer=KMessageBox::warningContinueCancel(this,i18n("The current project has not been saved. This will first save the project, then move all temporary files from <b>%1</b> to <b>%2</b>, and the project file will be reloaded",project->projectFolder(),newProjectFolder));
answer=KMessageBox::warningContinueCancel(this,i18n("The current project has not been saved. This will first save the project, then move all temporary files from <b>%1</b> to <b>%2</b>, and the project file will be reloaded",project->projectTempFolder(),newProjectFolder));
if(answer==KMessageBox::Continue){
pCore->projectManager()->saveFile();
}
}else{
answer=KMessageBox::warningContinueCancel(this,i18n("This will move all temporary files from <b>%1</b> to <b>%2</b>, the project file will then be reloaded",project->projectFolder(),newProjectFolder));
answer=KMessageBox::warningContinueCancel(this,i18n("This will move all temporary files from <b>%1</b> to <b>%2</b>, the project file will then be reloaded",project->projectTempFolder(),newProjectFolder));
if(!url.isValid())url=QFileDialog::getOpenFileUrl(this,i18n("Load Title"),QUrl(m_projectTitlePath),i18n("Kdenlive title (*.kdenlivetitle)"));
if(!url.isValid())url=QFileDialog::getOpenFileUrl(this,i18n("Load Title"),QUrl::fromLocalFile(m_projectTitlePath),i18n("Kdenlive title (*.kdenlivetitle)"));