intr=QMessageBox::warning(this,tr("Confirm Remove"),tr("Are you sure you want to remove the repository from bookmarks ?")+'\n'+tr("(Files will NOT be deleted)"),QMessageBox::Ok,QMessageBox::Cancel);
intr=QMessageBox::warning(this,tr("Open Repository"),dir+"\n\n"+tr("No such folder")+"\n\n"+tr("Remove from bookmark ?"),QMessageBox::Ok,QMessageBox::Cancel);
if(r==QMessageBox::Ok){
removeSelectedRepositoryFromBookmark(false);
}
return;
}
if(!Git::isValidWorkingCopy(dir)){
QMessageBox::warning(this,tr("Open Repository"),tr("Not a valid git repository")+"\n\n"+dir);