if(KMessageBox::warningContinueCancel(this,i18n("Delete all data in the cache folder:\n%1\nCache folder contains the audio and video thumbnails, as well as timeline previews. All this data will be recreated on project opening.",dir.absolutePath()))!=KMessageBox::Continue){
if(warn&&KMessageBox::warningContinueCancel(this,i18n("Delete all data in the cache folder:\n%1\nCache folder contains the audio and video thumbnails, as well as timeline previews. All this data will be recreated on project opening.",dir.absolutePath()))!=KMessageBox::Continue){