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

Method removeCurrentRow

src/bootentrylistview.cpp:50–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void BootEntryListView::removeCurrentRow()
51{
52 if(options & BootEntryListModel::Option::ReadOnly)
53 return;
54
55 auto index = currentIndex();
56 if(!index.isValid() || !model()->checkIndex(index))
57 return;
58
59 auto row = index.row();
60 model()->removeRow(row);
61}
62
63void BootEntryListView::moveCurrentRowUp()
64{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected