MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / onProcessSelected

Method onProcessSelected

src/processpicker.cpp:96–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void ProcessPicker::onProcessSelected()
97{
98 auto* item = ui->processTable->currentItem();
99 if (!item) return;
100
101 int row = item->row();
102 m_selectedPid = ui->processTable->item(row, 0)->data(Qt::EditRole).toUInt();
103 m_selectedName = ui->processTable->item(row, 1)->text();
104
105 accept();
106}
107
108void ProcessPicker::enumerateProcesses()
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected