MCPcopy Create free account
hub / github.com/baldurk/renderdoc / setRunCommand

Method setRunCommand

qrenderdoc/Windows/Dialogs/RemoteManager.cpp:393–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void 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
409void RemoteManager::queueDelete(RDTreeWidgetItem *item)
410{

Callers

nothing calls this directly

Calls 7

selectedItemMethod · 0.80
trimmedMethod · 0.80
IsValidMethod · 0.45
SetRunCommandMethod · 0.45
textMethod · 0.45
SaveMethod · 0.45
ConfigMethod · 0.45

Tested by

no test coverage detected