299 |
299 |
300 from UI.DeleteFilesConfirmationDialog import \ |
300 from UI.DeleteFilesConfirmationDialog import \ |
301 DeleteFilesConfirmationDialog |
301 DeleteFilesConfirmationDialog |
302 dlg = DeleteFilesConfirmationDialog( |
302 dlg = DeleteFilesConfirmationDialog( |
303 self.parent(), |
303 self.parent(), |
304 self.tr("Delete directories"), |
304 QCoreApplication.translate( |
305 self.tr("Do you really want to delete these directories from" |
305 "ProjectBaseBrowser", "Delete directories"), |
306 " the project?"), |
306 QCoreApplication.translate( |
|
307 "ProjectBaseBrowser", |
|
308 "Do you really want to delete these directories from" |
|
309 " the project?"), |
307 dirs) |
310 dirs) |
308 |
311 |
309 if dlg.exec_() == QDialog.Accepted: |
312 if dlg.exec_() == QDialog.Accepted: |
310 for dn in fullNames: |
313 for dn in fullNames: |
311 self.project.deleteDirectory(dn) |
314 self.project.deleteDirectory(dn) |