| 240 | } |
| 241 | |
| 242 | bool CliRemoteController::loadPreset(const QString &name) const |
| 243 | { |
| 244 | if(checkConnectionAndLog()) { |
| 245 | auto reply = service->loadPreset(name); |
| 246 | return handleVoidReply(reply); |
| 247 | } |
| 248 | |
| 249 | bool success = PresetManager::instance().load(name); |
| 250 | if(!success) |
| 251 | Log::error("Preset does not exist"); |
| 252 | return success; |
| 253 | } |
| 254 | |
| 255 | bool CliRemoteController::savePreset(const QString &name) const |
| 256 | { |
nothing calls this directly
no test coverage detected