| 259 | } |
| 260 | |
| 261 | void Voice::save() const { |
| 262 | if (Root* root = Root::singletonPtr()) { |
| 263 | if (auto config = root->configuration()) |
| 264 | config->set("voice", saveJson()); |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | void Voice::scheduleSave() { |
| 269 | if (!m_nextSaveTime) |
no test coverage detected