| 48 | } |
| 49 | |
| 50 | void 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 | |
| 63 | void BootEntryListView::moveCurrentRowUp() |
| 64 | { |
nothing calls this directly
no outgoing calls
no test coverage detected