MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / removeCurrentRow

Method removeCurrentRow

src/devicepathview.cpp:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void DevicePathView::removeCurrentRow() const
61{
62 if(readonly)
63 return;
64
65 auto index = currentIndex();
66 if(!index.isValid() || !model()->checkIndex(index))
67 return;
68
69 auto row = index.row();
70 model()->removeRow(row);
71}
72
73void DevicePathView::moveCurrentRowUp()
74{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected