| 284 | } |
| 285 | |
| 286 | void MainWindow::closeEvent(QCloseEvent* event) |
| 287 | { |
| 288 | if (this->widgetRundown->checkForSaveBeforeQuit()) |
| 289 | { |
| 290 | EventManager::getInstance().fireCloseApplicationEvent(CloseApplicationEvent()); |
| 291 | |
| 292 | event->accept(); |
| 293 | } |
| 294 | else |
| 295 | event->ignore(); |
| 296 | } |
| 297 | |
| 298 | void MainWindow::importPreset() |
| 299 | { |
nothing calls this directly
no test coverage detected