| 596 | } |
| 597 | |
| 598 | void |
| 599 | Singleton::syncRecent(void) |
| 600 | { |
| 601 | ConfigContext ctx("recent"); |
| 602 | Object list = ctx.listObject(); |
| 603 | |
| 604 | list.clear(); |
| 605 | |
| 606 | for (auto p : this->recentProfiles) { |
| 607 | try { |
| 608 | list.append(Object::makeField(p)); |
| 609 | } catch (Suscan::Exception const &) { |
| 610 | // Don't even bother to warn |
| 611 | } |
| 612 | } |
| 613 | } |
| 614 | |
| 615 | void |
| 616 | Singleton::syncLocations(void) |
no test coverage detected