| 391 | } |
| 392 | |
| 393 | void RemoteManager::setRunCommand() |
| 394 | { |
| 395 | RDTreeWidgetItem *item = ui->hosts->selectedItem(); |
| 396 | |
| 397 | if(!item) |
| 398 | return; |
| 399 | |
| 400 | RemoteHost h = getRemoteHost(item); |
| 401 | |
| 402 | if(h.IsValid()) |
| 403 | { |
| 404 | h.SetRunCommand(ui->runCommand->text().trimmed()); |
| 405 | m_Ctx.Config().Save(); |
| 406 | } |
| 407 | } |
| 408 | |
| 409 | void RemoteManager::queueDelete(RDTreeWidgetItem *item) |
| 410 | { |
nothing calls this directly
no test coverage detected