| 624 | } |
| 625 | |
| 626 | void UiController::saveArea(Sublime::Area * area, KConfigGroup & group) |
| 627 | { |
| 628 | area->save(group); |
| 629 | auto workingSet = area->workingSet(); |
| 630 | if (!workingSet.isEmpty()) { |
| 631 | WorkingSet* set = Core::self()->workingSetControllerInternal()->workingSet(workingSet); |
| 632 | set->saveFromArea(area); |
| 633 | } |
| 634 | for (auto w : mainWindows()) { |
| 635 | if (area == w->area()) { |
| 636 | Core::self()->activeSession()->config()->group(QStringLiteral("Working File Sets")).writeEntry("Active Working Set", workingSet); |
| 637 | } |
| 638 | } |
| 639 | } |
| 640 | |
| 641 | void UiController::loadArea(Sublime::Area * area, const KConfigGroup & group) |
| 642 | { |
nothing calls this directly
no test coverage detected