| 264 | } |
| 265 | |
| 266 | bool CliRemoteController::deletePreset(const QString &name) const |
| 267 | { |
| 268 | if(checkConnectionAndLog()) { |
| 269 | auto reply = service->deletePreset(name); |
| 270 | return handleVoidReply(reply); |
| 271 | } |
| 272 | |
| 273 | PresetManager::instance().remove(name); |
| 274 | return true; |
| 275 | } |
| 276 | |
| 277 | bool CliRemoteController::listPresetRules() const |
| 278 | { |
nothing calls this directly
no test coverage detected