MCPcopy Create free account
hub / github.com/KDE/kdevelop / cleanup

Method cleanup

kdevplatform/shell/projectcontroller.cpp:628–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628void 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
646void ProjectController::saveRecentProjectsActionEntries()
647{

Callers

nothing calls this directly

Calls 4

storeToSessionMethod · 0.80
isEmptyMethod · 0.45
activeSessionMethod · 0.45

Tested by

no test coverage detected