MCPcopy Create free account
hub / github.com/CasparCG/client / removeDevice

Method removeDevice

src/Widgets/SettingsDialog.cpp:343–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void SettingsDialog::removeDevice()
344{
345 if (this->treeWidgetDevice->selectedItems().count() == 0)
346 return;
347
348 DatabaseManager::getInstance().deleteDevice(this->treeWidgetDevice->currentItem()->text(0).toInt());
349 delete this->treeWidgetDevice->currentItem();
350
351 loadDevice();
352
353 EventManager::getInstance().fireRefreshLibraryEvent(RefreshLibraryEvent());
354}
355
356void SettingsDialog::removeOscOutput()
357{

Callers

nothing calls this directly

Calls 2

deleteDeviceMethod · 0.80

Tested by

no test coverage detected