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

Method cleanup

kdevplatform/shell/uicontroller.cpp:480–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480void UiController::cleanup()
481{
482 for (Sublime::MainWindow* w : mainWindows()) {
483 w->saveSettings();
484 }
485 saveAllAreas(KSharedConfig::openConfig());
486
487 // disconnect early to prevent UB due to accessing partially destroyed UiController
488 // in the focusChanged handler above
489 disconnect(qApp, nullptr, this, nullptr);
490}
491
492void UiController::selectNewToolViewToAdd(MainWindow *mw)
493{

Callers

nothing calls this directly

Calls 1

saveSettingsMethod · 0.45

Tested by

no test coverage detected