| 626 | } |
| 627 | |
| 628 | void ProjectController::cleanup() |
| 629 | { |
| 630 | Q_D(ProjectController); |
| 631 | |
| 632 | if ( d->m_currentlyOpening.isEmpty() ) { |
| 633 | d->saveListOfOpenedProjects(); |
| 634 | } |
| 635 | |
| 636 | saveRecentProjectsActionEntries(); |
| 637 | |
| 638 | d->m_cleaningUp = true; |
| 639 | if( buildSetModel() ) { |
| 640 | buildSetModel()->storeToSession( Core::self()->activeSession() ); |
| 641 | } |
| 642 | |
| 643 | closeAllProjects(); |
| 644 | } |
| 645 | |
| 646 | void ProjectController::saveRecentProjectsActionEntries() |
| 647 | { |
nothing calls this directly
no test coverage detected