| 61 | } |
| 62 | |
| 63 | void KDiff3Shell::closeEvent(QCloseEvent* e) |
| 64 | { |
| 65 | if(queryClose()) |
| 66 | { |
| 67 | e->accept(); |
| 68 | bool bFileSaved = m_widget->isFileSaved(); |
| 69 | bool bDirCompare = m_widget->isDirComparison(); |
| 70 | QApplication::exit(bFileSaved || bDirCompare ? 0 : 1); |
| 71 | } |
| 72 | else |
| 73 | e->ignore(); |
| 74 | } |
| 75 | |
| 76 | void KDiff3Shell::optionsShowToolbar() |
| 77 | { |
nothing calls this directly
no test coverage detected