| 231 | } |
| 232 | |
| 233 | bool CliRemoteController::listPresets() const |
| 234 | { |
| 235 | auto *model = PresetManager::instance().presetModel(); |
| 236 | model->rescan(); |
| 237 | for(const auto& name : model->getList()) |
| 238 | Log::console(name, true); |
| 239 | return model->rowCount() > 0; |
| 240 | } |
| 241 | |
| 242 | bool CliRemoteController::loadPreset(const QString &name) const |
| 243 | { |
nothing calls this directly
no test coverage detected